exception documentation

class BadRequestKeyError(BadRequest, KeyError): (source)

View In Hierarchy

An exception that is used to signal both a :exc:`KeyError` and a :exc:`BadRequest`. Used by many of the datastructures.

Method __init__ Undocumented
Method description.setter Undocumented
Class Variable show_exception Undocumented
Property description Undocumented
Instance Variable _description Undocumented

Inherited from BadRequest:

Class Variable code Undocumented

Inherited from HTTPException (via BadRequest):

Method __call__ Call the exception as WSGI application.
Method __repr__ Undocumented
Method __str__ Undocumented
Method get_body Get the HTML body.
Method get_description Get the description.
Method get_headers Get a list of headers.
Method get_response Get a response object. If one was passed to the exception it's returned directly.
Instance Variable response Undocumented
Property name The status name.
def __init__(self, arg: t.Optional[str] = None, *args: t.Any, **kwargs: t.Any): (source)
@description.setter
def description(self, value: str): (source)

Undocumented

show_exception: bool = (source)

Undocumented

_description = (source)

Undocumented