Errors#
- exception ApiClientError(message: str, response: Response | None = None, request: Request | None = None)#
HTTP error from the SimAI API.
- exception ConfigurationError#
Client could not be configured properly.
- exception ConfigurationNotFoundError#
Configuration file does not exist.
- exception ConnectionError(message: str, *, request: Request | None = None)#
Could not communicate with the server.
- exception InvalidArguments#
Invalid arguments were provided.
- exception InvalidClientStateError#
Client’s state is invalid.
- exception InvalidConfigurationError#
Given configuration is not valid.
- exception InvalidOperationError#
This operation is not possible in the current state.
- exception InvalidServerStateError#
Server’s state is invalid.
- exception MultipleErrors(exceptions: List[SimAIError])#
Multiple errors occurred.
- exception NotFoundError(message: str, response: Response | None = None, request: Request | None = None)#
Required resource was not found on the server.
- exception ProcessingError#
Data could not be processed.
- exception SimAIError#
Provides the base exception for all errors of the SimAI client.
To catch any expected error that the client might throw, use this exception.