faust.web.exceptions
¶
HTTP and related errors.
- exception faust.web.exceptions.WebError(detail: Optional[str] = None, *, code: Optional[int] = None, **extra_context: Any)[source]¶
Web related error.
Web related errors will have a status
code
, and adetail
for the human readable error string.It may also keep
extra_context
.
- exception faust.web.exceptions.ServerError(detail: Optional[str] = None, *, code: Optional[int] = None, **extra_context: Any)[source]¶
Internal Server Error (500).
- exception faust.web.exceptions.ValidationError(detail: Optional[str] = None, *, code: Optional[int] = None, **extra_context: Any)[source]¶
Invalid input in POST data (400).
- exception faust.web.exceptions.ParseError(detail: Optional[str] = None, *, code: Optional[int] = None, **extra_context: Any)[source]¶
Malformed request (400).
- exception faust.web.exceptions.AuthenticationFailed(detail: Optional[str] = None, *, code: Optional[int] = None, **extra_context: Any)[source]¶
Incorrect authentication credentials (401).
- exception faust.web.exceptions.NotAuthenticated(detail: Optional[str] = None, *, code: Optional[int] = None, **extra_context: Any)[source]¶
Authentication credentials were not provided (401).
- exception faust.web.exceptions.PermissionDenied(detail: Optional[str] = None, *, code: Optional[int] = None, **extra_context: Any)[source]¶
No permission to perform action (403).
- exception faust.web.exceptions.NotFound(detail: Optional[str] = None, *, code: Optional[int] = None, **extra_context: Any)[source]¶
Resource not found (404).
- exception faust.web.exceptions.MethodNotAllowed(detail: Optional[str] = None, *, code: Optional[int] = None, **extra_context: Any)[source]¶
HTTP Method not allowed (405).
- exception faust.web.exceptions.NotAcceptable(detail: Optional[str] = None, *, code: Optional[int] = None, **extra_context: Any)[source]¶
Not able to satisfy the request
Accept
header (406).