litestar-exception-handling

Community

Reliable exception mapping for Litestar APIs.

Authoralti3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Standardize and stabilize HTTP error responses in Litestar apps by mapping domain exceptions to well-defined API errors and payloads.

Core Features & Use Cases

  • Exception classes mapped to specific HTTP statuses
  • Centralized error payload with machine-readable code and human-friendly message
  • Reusable handlers across routes and services for consistent observability

Quick Start

Define domain exceptions, map them to HTTP responses, and wire the handlers into your Litestar application.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: litestar-exception-handling
Download link: https://github.com/alti3/litestar-skills/archive/main.zip#litestar-exception-handling

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.