Skip to main content

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

Metadata

Release files for exasol-error-reporting-python 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for exasol-error-reporting-python 0.3.0
File Size Uploaded
exasol-error-reporting-python-0.3.0.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for exasol-error-reporting-python 0.3.0
File Interpreter ABI Platform
exasol_error_reporting_python-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / exasol-error-reporting-python-0.3.0.tar.gz

Download URL exasol-error-reporting-python-0.3.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5b417e21408743d3191cface1b3cadfd40d8db0b88a88ee58f753ffcedaa2e5a
BLAKE2b-256 checksum
How to use checksums
386ac40c95c9842514ebb1e38e7983cce1c53b360dd8b04851887fd92b2ae60c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.8.16 Linux/5.15.0-1034-azure

Release files / exasol_error_reporting_python-0.3.0-py3-none-any.whl

Download URL exasol_error_reporting_python-0.3.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
727c429118b80e07715530d3b9159e8e43502bef2da34cbbac3c79465c901ce8
BLAKE2b-256 checksum
How to use checksums
182949db6dd7a490d15d0c4fc5eef67d1cfc1486264ab37d1931442b2173bf8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.8.16 Linux/5.15.0-1034-azure

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page