Base Object Error¶
consortium.server.exceptions.object_exceptions.base_object_exception
¶
BaseObjectError(message='', detail=None)
¶
Bases: Exception
Base exception for all errors raised by the server's primitive objects.
Every object level exception derives from this class so that object errors can be caught and handled through a single common type.
Attributes:
| Name | Type | Description |
|---|---|---|
code |
str
|
A stable machine-readable string identifying the specific error. |
message |
str
|
A human-readable description of what went wrong and, where possible, how to resolve it. |
detail |
dict[str, JsonValue] | None
|
Optional JSON-serializable, structured, machine-readable context about the error, or None when there is no such context. |