Skip to main content

Exasol Python Error Reporting

Project description

Error Reporting Python

This project contains a python library for describing Exasol error messages. This library lets you define errors with a uniform set of attributes. Furthermore, the error message is implemented to be parseable, so that you can extract an error catalog from the code.

In a Nutshell

Create an error object:

exa_error_obj = ExaError.message_builder('E-TEST-1')\
    .message("Not enough space on device {{device}}.")\
    .mitigation("Delete something from {{device}}.")\
    .mitigation("Create larger partition.")\
    .parameter("device", "/dev/sda1", "name of the device") 

Use it as string:

print(exa_error_obj)

Result:

E-TEST-1: Not enough space on device '/dev/sda1'. Known mitigations:
* Delete something from '/dev/sda1'.
* Create larger partition.

Check out the user guide for more details.

Information for Users

You can find corresponding libraries for other languages here:

Information for Contributors

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

exasol-error-reporting-python-0.3.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exasol_error_reporting_python-0.3.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file exasol-error-reporting-python-0.3.0.tar.gz.

File metadata

  • Download URL: exasol-error-reporting-python-0.3.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.16 Linux/5.15.0-1034-azure

File hashes

Hashes for exasol-error-reporting-python-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5b417e21408743d3191cface1b3cadfd40d8db0b88a88ee58f753ffcedaa2e5a
MD5 f31941cc946b69ac91170a38fd2ba516
BLAKE2b-256 386ac40c95c9842514ebb1e38e7983cce1c53b360dd8b04851887fd92b2ae60c

See more details on using hashes here.

File details

Details for the file exasol_error_reporting_python-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for exasol_error_reporting_python-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 727c429118b80e07715530d3b9159e8e43502bef2da34cbbac3c79465c901ce8
MD5 c16006bc962ba7990c4859de66572f3a
BLAKE2b-256 182949db6dd7a490d15d0c4fc5eef67d1cfc1486264ab37d1931442b2173bf8e

See more details on using hashes here.

Supported by

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