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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file diagnostic-2.1.0.tar.gz.

File metadata

  • Download URL: diagnostic-2.1.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for diagnostic-2.1.0.tar.gz
Algorithm Hash digest
SHA256 217dac8fac743d75b16c9e04ea03361e6f5220380f19cf39f451746b9fbc0b48
MD5 2acf007bbbcc9e7baa125ac5953fcd70
BLAKE2b-256 3fb133711b5b82062018295dd130b75050179380d32d616b37f8895012780156

See more details on using hashes here.

File details

Details for the file diagnostic-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: diagnostic-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for diagnostic-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8685973efdb6c9aa195530398e6e947a05e2970acea47e1436101587881df401
MD5 0e13eaabb3cb8a1693dd407cd203c022
BLAKE2b-256 82d9b2bd36f73ee8a33900667f10736bcdba25eee1a148ca0e99793f2b04fc38

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