Classes
PounceError
2
▼
Base exception for all pounce server errors.
PounceError
2
▼
Base exception for all pounce server errors.
Attributes
| Name | Type | Description |
|---|---|---|
status_code |
int
|
— |
Methods
Internal Methods 1 ▼
__init__
2
▼
__init__
2
▼
def __init__(self, message: str, *, status_code: int | None = None) -> None
Parameters
| Name | Type | Description |
|---|---|---|
message |
— |
|
status_code |
— |
Default:None
|
ParseError
1
▼
Malformed HTTP request — h11 could not parse the input.
ParseError
1
▼
Malformed HTTP request — h11 could not parse the input.
Attributes
| Name | Type | Description |
|---|---|---|
status_code |
int
|
— |
RequestTimeoutError
1
▼
Request or keep-alive timeout exceeded.
Named ``RequestTimeoutError`` to avoid shadowing the built…
RequestTimeoutError
1
▼
Request or keep-alive timeout exceeded.
NamedRequestTimeoutErrorto avoid shadowing the builtin
TimeoutError (which is a subclass of OSError).
Attributes
| Name | Type | Description |
|---|---|---|
status_code |
int
|
— |
LimitError
1
▼
Request headers or body exceed configured size limits.
Default status is 413 (Content Too Large). …
LimitError
1
▼
Request headers or body exceed configured size limits.
Default status is 413 (Content Too Large). Passstatus_code=431
for header-specific limits (Request Header Fields Too Large).
Attributes
| Name | Type | Description |
|---|---|---|
status_code |
int
|
— |
AppError
1
▼
The ASGI application raised an unhandled exception.
AppError
1
▼
The ASGI application raised an unhandled exception.
Attributes
| Name | Type | Description |
|---|---|---|
status_code |
int
|
— |
LifespanError
1
▼
ASGI lifespan startup or shutdown failed.
LifespanError
1
▼
ASGI lifespan startup or shutdown failed.
Attributes
| Name | Type | Description |
|---|---|---|
status_code |
int
|
— |
SupervisorError
1
▼
Worker spawn failure or crash-restart exhaustion.
SupervisorError
1
▼
Worker spawn failure or crash-restart exhaustion.
Attributes
| Name | Type | Description |
|---|---|---|
status_code |
int
|
— |
WorkerError
1
▼
Worker-level failure that bubbles to the supervisor.
WorkerError
1
▼
Worker-level failure that bubbles to the supervisor.
Attributes
| Name | Type | Description |
|---|---|---|
status_code |
int
|
— |
TLSError
1
▼
TLS configuration or handshake failure.
TLSError
1
▼
TLS configuration or handshake failure.
Attributes
| Name | Type | Description |
|---|---|---|
status_code |
int
|
— |
ReloadError
1
▼
File-watcher or worker-restart failure during reload.
ReloadError
1
▼
File-watcher or worker-restart failure during reload.
Attributes
| Name | Type | Description |
|---|---|---|
status_code |
int
|
— |