fastapi-exceptions
Installation
SKILL.md
FastAPI Exceptions & Error Handling
Overview
This skill covers creating a comprehensive exception handling system with custom exceptions, standardized error responses, and centralized exception handlers.
Create exceptions.py
Create src/app/exceptions.py:
from typing import Any
from uuid import UUID
class AppException(Exception):
"""
Base exception for all application errors.