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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b417e21408743d3191cface1b3cadfd40d8db0b88a88ee58f753ffcedaa2e5a
|
|
| MD5 |
f31941cc946b69ac91170a38fd2ba516
|
|
| BLAKE2b-256 |
386ac40c95c9842514ebb1e38e7983cce1c53b360dd8b04851887fd92b2ae60c
|
File details
Details for the file exasol_error_reporting_python-0.3.0-py3-none-any.whl.
File metadata
- Download URL: exasol_error_reporting_python-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.8.16 Linux/5.15.0-1034-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
727c429118b80e07715530d3b9159e8e43502bef2da34cbbac3c79465c901ce8
|
|
| MD5 |
c16006bc962ba7990c4859de66572f3a
|
|
| BLAKE2b-256 |
182949db6dd7a490d15d0c4fc5eef67d1cfc1486264ab37d1931442b2173bf8e
|