exceptions
exceptions ¶
Alerts Route Exception Classes
This module contains all exception classes used by alert route functions.
Exception Classes
Alert_GET_Error: Raised when alert retrieval operations fail Alert_CRUD_Error: Raised when alert create/update/delete operations fail
Alert_CRUD_Error ¶
Alert_CRUD_Error(
operation: str = "CRUD",
alert_id: str | None = None,
res=None,
message: str | None = None,
**kwargs,
)
Bases: RouteError
Raised when alert create, update, or delete operations fail.
Source code in src/crew_dcs/routes/alerts/exceptions.py
31 32 33 34 35 36 37 38 39 40 41 | |
Alert_GET_Error ¶
Alert_GET_Error(
alert_id: str | None = None, res=None, **kwargs
)
Bases: RouteError
Raised when alert retrieval operations fail.
Source code in src/crew_dcs/routes/alerts/exceptions.py
19 20 21 22 23 24 25 | |