Exceptions#

Exceptions that can be thrown by this library.

exception onewot.errors.EntityNotFound(code: str, message: str, value: Union[str, int])[source]#

Exception thrown when searched entity has invalid ID or name.

exception onewot.errors.OnewotError(code: str, message: str, field: str, value: Union[str, int])[source]#

Base for an error raised by this API.

exception onewot.errors.UserNotFound(code: str, message: str, value: Union[str, int])[source]#

Exception thrown when searched user has invalid ID or name.