Errors#

exception ApiClientError(message: str, response=None)#

HTTP error from the SimAI API.

exception ConfigurationError#

Client could not be configured properly.

exception ConfigurationNotFoundError#

Configuration file does not exist.

exception ConnectionError(*args, **kwargs)#

Could not communicate with the server.

Initialize RequestException with request and response objects.

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=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.