The zaqar.common.api.errors module

exception BadRequest(description)

Bases: zaqar.common.api.errors.ExceptionBase

Raised when an invalid request is received.

msg_format = u'Bad request. {description}'
exception DocumentTypeNotSupported(**kwargs)

Bases: zaqar.common.api.errors.ExceptionBase

Raised when the content of a request has an unsupported format.

exception ExceptionBase(**kwargs)

Bases: exceptions.Exception

msg_format = ''