exceptions
exceptions ¶
AccountNoMatchError ¶
AccountNoMatchError(
account_id: str | None = None,
res=None,
message: str = "Account not found -- has it been shared with the user?",
**kwargs
)
Bases: RouteError
Raised when a specific account cannot be found or accessed.
Source code in src/crew_dcs/routes/account/exceptions.py
96 97 98 99 100 101 102 103 | |
AccountSharing_Error ¶
AccountSharing_Error(
operation: str,
account_id: str | None = None,
res=None,
message: str | None = None,
**kwargs
)
Bases: RouteError
Raised when account sharing operations fail.
Source code in src/crew_dcs/routes/account/exceptions.py
65 66 67 68 69 70 71 72 73 74 75 | |
Account_CRUD_Error ¶
Account_CRUD_Error(
operation: str = "CRUD",
account_id: str | None = None,
res=None,
message: str | None = None,
**kwargs
)
Bases: RouteError
Raised when account create, update, or delete operations fail.
Source code in src/crew_dcs/routes/account/exceptions.py
49 50 51 52 53 54 55 56 57 58 59 | |
Account_Config_Error ¶
Account_Config_Error(
account_id: str | None = None,
res=None,
message: str | None = None,
**kwargs
)
Bases: RouteError
Raised when account configuration operations fail.
Source code in src/crew_dcs/routes/account/exceptions.py
81 82 83 84 85 86 87 88 89 90 | |
Account_CreateParams_Error ¶
Account_CreateParams_Error(message: str, **kwargs)
Bases: RouteError
Raised when account creation parameters are invalid.
Source code in src/crew_dcs/routes/account/exceptions.py
109 110 | |
Account_GET_Error ¶
Account_GET_Error(
account_id: str | None = None, res=None, **kwargs
)
Bases: RouteError
Raised when account retrieval operations fail.
Source code in src/crew_dcs/routes/account/exceptions.py
24 25 26 27 28 29 30 | |
SearchAccountNotFoundError ¶
SearchAccountNotFoundError(
search_criteria: str, res=None, **kwargs
)
Bases: RouteError
Raised when account search operations return no results.
Source code in src/crew_dcs/routes/account/exceptions.py
36 37 38 39 40 41 42 43 | |