CustomErrorResponsesDict¶
Dictionary Type¶
CustomErrorResponsesDict
¶
Bases: TypedDict
Dictionary form of CustomErrorResponses.
Attributes¶
items
instance-attribute
¶
items: Sequence[CustomErrorResponse | CustomErrorResponseDict] | None
A complex type that contains a CustomErrorResponse element for each
HTTP status code for which you want to specify a custom error page
and/or a caching duration.