litestar-exceptions - Litestar domain exception handling and HTTP error mapping
Configures domain exception hierarchies, registers app handlers, and maps HTTP error responses in Litestar applications.
Tags
Updated: 2026-09-11Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Define domain exception hierarchies
- Register exception handlers at app
- Raise domain or framework exceptions
- Test failure response payloads
- Configure RFC 9457 ProblemDetailsPlugin
Inputs
- Domain exception classes
- Application configuration
- RFC 9457 requirements
Outputs
- Registered exception handlers
- HTTP error response payloads
Requirements
- Litestar 2.24.0 or compatible version
- Python runtime
