exa.common.errors.iqm_error.IQMError#
- exception IQMError(message, *, error_code=None, log_level=40)#
Base exception for the IQM ecosystem logic.
This class serves as a universal functional representation of a failure within application logic. It is defined in ‘exa-common’ to provide a consistent error contract for all services, libraries, and clients, regardless of whether they communicate over a network or run locally.
IQMError is abstract and cannot be instantiated directly. Instead, specialized subclasses are used to categorize the failure (e.g.,
NotFoundErrororValidationError).While these exceptions are context-agnostic, the core subclasses are loosely equivalent to standard HTTP status codes. This enables a consistent transmission contract.