pystclient.exception¶
Custom exceptions for pystclient.
Exceptions
|
Exception raised for API response errors. |
|
Exception raised when a configuration is not found. |
|
Exception raised when an FMU model is not found. |
|
Exception raised when connections data is malformed. |
|
Exception raised when required variables are missing. |
|
Base exception class for pystclient errors. |
|
Exception raised when response data is in an unexpected format. |
|
Exception raised for unknown errors. |
- exception pystclient.exception.APIResponseError(resp: Response)¶
Exception raised for API response errors.
- status_code¶
HTTP status code from the response.
- Type:
int
- code¶
Error code from the response.
- Type:
str
- message¶
Error message from the response.
- Type:
str
- text¶
Raw response text.
- Type:
str
- code: str¶
- message: str¶
- status_code: int¶
- text: str¶
- exception pystclient.exception.ConfigurationNotFoundError(*args: Any, **kwargs: Any)¶
Exception raised when a configuration is not found.
- exception pystclient.exception.FmuModelNotFoundError(*args: Any, **kwargs: Any)¶
Exception raised when an FMU model is not found.
- exception pystclient.exception.MalformedConnectionsError(*args: Any, **kwargs: Any)¶
Exception raised when connections data is malformed.
- exception pystclient.exception.MissingVariablesError(*args: Any, **kwargs: Any)¶
Exception raised when required variables are missing.
- exception pystclient.exception.PyStclientError(*args: Any, **kwargs: Any)¶
Base exception class for pystclient errors.
- exception pystclient.exception.UnexpectedResponseDataError(*args: Any, **kwargs: Any)¶
Exception raised when response data is in an unexpected format.
- exception pystclient.exception.UnknownError(*args: Any, **kwargs: Any)¶
Exception raised for unknown errors.