Exceptions¶
- exception lanyard.exception.LanyardError(message)[source]¶
Base exception for all errors with Lanyard client.
- Parameters:
message (str) – Error message.
- Return type:
None
- exception lanyard.exception.KVInvalidError[source]¶
Exception thrown when the KV body value is not an object (dict)
- Return type:
None
- exception lanyard.exception.NoPermissionError[source]¶
Exception raised when a user does not have permission to perform the operation.
- Return type:
None
- exception lanyard.exception.KVValidationError[source]¶
An exception is thrown when the limits for keys or values in KV are violated.
- Return type:
None
- exception lanyard.exception.TokenRequiredError[source]¶
Exception for methods that require a token to be specified.
- Return type:
None