Skip to main content

Tools for working with container types, command data operations, and concise exception handling

Project description

By using the inspectcall library, calldecorators decorators can make use of call arguments to functions at runtime, and preserves function signature metadata (which is clobbered by most decorators) so that this functionality works even when decorators are stacked.

The error_context decorator uses functionality from tdxutil.exceptions.try_with_lazy_context to wrap a function call in an error handler that can prepend contextual information to an error without affecting the stacktrace. This allows errors raised b low-level code, which may not have enough information to construct error messages indicating what was going on, to be made far more informative.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

calldecorators-0.0.2.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file calldecorators-0.0.2.tar.gz.

File metadata

File hashes

Hashes for calldecorators-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5ad6c9acba6a38c435066a64327093cde4e5d7149d3a86bb387a79dc1c8854d3
MD5 a68553e793d9f2db21d36b345107350a
BLAKE2b-256 17d8c8d8c261095f42f2abfc895ad21a6b9004a500a3a4fb39055f5d1c1cafb7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page