Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias alias Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Assign NameStore Num ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Expr Call NameLoad NameLoad Lambda arguments args NameParam defaults Dict Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults NameLoad kwarg body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad ClassDef bases NameLoad body Assign NameStore Call NameLoad Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Dict Str Str AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str decorator_list
N/A N/A 
This module defines the presentation of error conditions that can be
encountered by the implementation of the API.
 inspect cleandoc eliot register_exception_extractor twisted.web.http BAD_REQUEST FORBIDDEN NOT_FOUND N/A __all__ N/A BadRequest InvalidRequestJSON makeBadRequest DECODING_ERROR_DESCRIPTION DECODING_ERROR UNAUTHORIZED ENTITY_NOT_FOUND NameCollision UNPROCESSABLE_REQUEST N/A UNPROCESSABLE_REQUEST 422 BadRequest N/A Exception N/A N/A 
    An endpoint can raise a L{BadRequest} (or subclass) instance to return an
    error response to the client without triggering incident logging.

    Use this for input validation failures, for example.
     __init__ N/A N/A self code result N/A N/A N/A 
        @param code: The HTTP response code to set in the response.
        @type code: L{int}

        @param result: The value to put into the field of the response
            body as JSON.
         N/A N/A N/A Exception __init__ self code result N/A N/A self code code N/A N/A self result result N/A N/A N/A N/A register_exception_extractor BadRequest N/A N/A N/A e N/A N/A code N/A e code makeBadRequest N/A N/A code N/A BAD_REQUEST result N/A N/A 
    Create a new L{BadRequest} instance with the given result.
     N/A N/A BadRequest code result N/A N/A DECODING_ERROR_DESCRIPTION N/A cleandoc 
    The request body could not be decoded according to the value of the
    Content-Type header.
     N/A NOT_FOUND_DESCRIPTION N/A cleandoc 
    The specified entity either does not exist or you are not allowed to access
    it.
     N/A UNAUTHORIZED_DESCRIPTION N/A cleandoc 
    The user is not authorized to do this operation.
     N/A DECODING_ERROR N/A makeBadRequest description DECODING_ERROR_DESCRIPTION N/A ENTITY_NOT_FOUND N/A makeBadRequest code NOT_FOUND description NOT_FOUND_DESCRIPTION N/A UNAUTHORIZED N/A makeBadRequest FORBIDDEN description UNAUTHORIZED_DESCRIPTION InvalidRequestJSON N/A BadRequest N/A N/A description N/A cleandoc 
    The provided JSON doesn't match the required schema.
     N/A __doc__ description __init__ N/A N/A self errors schema N/A N/A N/A N/A N/A BadRequest __init__ self BAD_REQUEST N/A description errors N/A self description errors N/A N/A NameCollision N/A Exception N/A N/A 
    An entity was created with a name that already exists.
     N/A