Status
plateforme.core.api.status
This module provides utilities for managing status codes within the Plateforme framework's API using FastAPI and Starlette features.
StatusClass
module-attribute
StatusClass = Literal[
"HTTP_1", "HTTP_2", "HTTP_3", "HTTP_4", "HTTP_5", "WS_1"
]
A literal type representing the classes of status codes.
get_status_class
get_status_class(status_code: int) -> StatusClass | None
Get the status code class for a given status code.