Exceptions
- exception kabelwerk.exceptions.KabelwerkException
The base class for all Kabelwerk exceptions.
- exception kabelwerk.exceptions.ConnectionError(error)
Raised when there is an issue with the connection to the Kabelwerk backend.
- request
The failed request.
- cause
The underlying error.
- exception kabelwerk.exceptions.AuthenticationError(response)
Raised when the authentication token is rejected by the Kabelwerk backend.
- request
The failed request.
- response
The Kabelwerk backend’s response.
- exception kabelwerk.exceptions.DoesNotExist(response)
Raised when the requested entity does not exist.
- request
The failed request.
- response
The Kabelwerk backend’s response.
- exception kabelwerk.exceptions.ValidationError(response, field, error_message)
Raised when the input data is rejected by the Kabelwerk backend as invalid.
- request
The failed request.
- response
The Kabelwerk backend’s response.
- field
The argument which failed the validation.
- error_message
Description of the error.