Skip to main content

Present errors that contain causes better understand what happened.

Project description

diagnostic

diagnostic makes it easier to build command line tools with great error reporting.

demo screenshot showing an error message with a header, a message, and a list of errors

demo screenshot showing an error message with a header, a message, and a list of errors

Features

  • Unique codes on every Diagnostic
  • Tooling to help ensure all codes in the codebase are documented
  • Fancy graphical output, built on top of rich, with graceful fallbacks to ASCII and plain strings
  • Present a causal chain if needed

Documentation

See the documentation for more information.

License

This project is licensed under the terms of the MIT license.

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

diagnostic-2.1.0.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

diagnostic-2.1.0-py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 3

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