litestar-exceptions

Installation
SKILL.md

Litestar Exceptions

Use this skill for domain exception hierarchies, handler registration, and HTTP error response shape.

Code Style Rules

  • Centralize domain-to-HTTP translation in exception handlers.
  • Keep route handlers free of repetitive try/except blocks.
  • Use domain exception classes when services need stable error contracts.
  • Keep validation errors aligned with DTO and OpenAPI behavior.
  • Use ProblemDetailsPlugin explicitly when the API contract requires RFC 9457. Native HTTPException responses are Litestar's JSON error envelope.

Quick Reference

Installs
12
GitHub Stars
13
First Seen
May 18, 2026
litestar-exceptions — litestar-org/litestar-skills