djblets.webapi.errors¶
-
class
WebAPIError
(code, msg, http_status=400, headers={})[source]¶ Bases:
object
An API error, containing an error code and human readable message.
-
__init__
(code, msg, http_status=400, headers={})[source]¶ x.__init__(…) initializes x; see help(type(x)) for signature
-
-
exception
WebAPITokenGenerationError
[source]¶ Bases:
exceptions.Exception
An error generating a Web API token.