errors
Module for PyCelonis specific error classes.
This module contains all PyCelonis specific error classes used throughout the package.
Typical usage example:
```python
raise PyCelonisError("This is an error in PyCelonis")
```
PyCelonisError ¶
Bases: Exception
Base Error class.
Parameters:
-
message
(Optional[str]
, default:None
) –Error message to display.
PyCelonisHTTPStatusError ¶
Bases: PyCelonisError
Raises for HTTPStatusError.
Parameters:
-
message
(Optional[str]
, default:None
) –Error message to display.
PyCelonisPermissionError ¶
Bases: PyCelonisError
Raises for PermissionError.
Parameters:
-
message
(Optional[str]
, default:None
) –Error message to display.
PyCelonisValueError ¶
Bases: PyCelonisError
Raised for ValueErrors.
Parameters:
-
message
(Optional[str]
, default:None
) –Error message to display.
PyCelonisAttributeError ¶
Bases: PyCelonisError
Raised for AttributeErrors.
Parameters:
-
message
(Optional[str]
, default:None
) –Error message to display.
PyCelonisTypeError ¶
Bases: PyCelonisError
Raised for TypeErrors.
Parameters:
-
message
(Optional[str]
, default:None
) –Error message to display.
PyCelonisNotFoundError ¶
Bases: PyCelonisError
Raised when object with given id was not found.
Parameters:
-
message
(Optional[str]
, default:None
) –Error message to display.