Expand description
Lightweight mapping from system error code (SysErrorCode) to HTTP status. This module is framework-agnostic and does not depend on any HTTP stack.
Functionsยง
- http_
status_ for_ reason - Convenience: map a reason to HTTP status.
- http_
status_ for_ sys - Map a system error code (u16) to an HTTP status code (u16). Suggested contract: