Registry / serialization / exasol-error-reporting

exasol-error-reporting

JSON →
library1.1.0pypypiunverified

Exasol Error Reporting is a Python library designed to standardize error messages with structured error codes, messages, and mitigation hints. It ensures uniformity across applications by enforcing a specific error code format. The current version is 1.1.0, and it follows an active release cadence, typically updating dependencies and addressing security concerns as needed.

pip install exasol-error-reporting
INSTALL
IMPORT
SIG · EXASOL-ERROR-REPOR
E
exasol-error-reporting
serializationpythonv1.1.0
Install
1.6s avg
Import
—
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v1.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.9MB
glibc
py 3.10–3.910 runs
installs and imports cleanly · install 1.6s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ExaError
✓ from exasol.error_reporting import ExaError
✗ from exasol.error_reporting import ExaError

This quickstart demonstrates how to define and raise an `ExaError` with a structured error code, message, mitigation hints, and additional parameters. It also shows how to catch and inspect the `ExaError` object.

from exasol.error_reporting import ExaError def my_faulty_function(param_value): if param_value is None: raise ExaError("E-TEST-1", "Input parameter 'param_value' must not be None.") \ .add_mitigation("Provide a valid non-null value for 'param_value'.") \ .add_parameter("received_value", "None") return f"Processed: {param_value}" # Example Usage: try: my_faulty_function(None) except ExaError as e: print(f"Caught ExaError: {e.error_code} - {e.message}") for mitigation in e.mitigations: print(f" Mitigation: {mitigation}") for param, value in e.parameters.items(): print(f" Parameter {param}: {value}") try: result = my_faulty_function("hello") print(result) except ExaError as e: print(f"Unexpected error: {e}")
Debug
Known issues
breakingPython 3.9 support was dropped.
fix
Upgrade your Python environment to 3.10 or newer. The library requires Python >=3.10, <4.0.
affects: >=1.1.0
breakingThe package name and import path changed from `exasol-error-reporting-python` to `exasol-error-reporting`.
fix
Update your `pip install` command and all import statements from `exasol_error_reporting_python` to `exasol.error_reporting`.
affects: >=0.4.0
gotchaError codes must adhere to a specific format (e.g., `E-ABC-1`). Incorrect formats will raise a `ValueError`.
fix
Ensure error codes follow the pattern `E-<THREE_LETTER_COMPONENT>-<NUMBER>`, where `E` is fixed, the component is three uppercase letters, and the number is an integer.
affects: all
Upgrade
Version history
1.1.0latest on PyPI · released Feb 10, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
exasol-error-reporting — pip install exasol-error-reporting · libregistry