ln-772-error-handler-setup

Solid

Configures global exception handling middleware. Use when adding centralized error handling to .NET or Python backends.

AI & Automation 488 stars 70 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
90
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ln-772-error-handler-setup **Type:** L3 Worker **Category:** 7XX Project Bootstrap Configures global error handling for .NET and Python backend applications. --- ## Overview | Aspect | Details | |--------|---------| | **Input** | Context Store from ln-770 | | **Output** | Exception handling middleware and custom exceptions | | **Stacks** | .NET (ASP.NET Core Middleware), Python (FastAPI exception handlers) | --- ## Phase 1: Receive Context Accept Context Store from coordinator. **Required Context:** - `STACK`: .NET or Python - `FRAMEWORK`: ASP.NET Core or FastAPI - `PROJECT_ROOT`: Project directory path - `ENVIRONMENT`: Development or Production **Idempotency Check:** - .NET: Grep for `GlobalExceptionMiddleware` or `UseExceptionHandler` - Python: Grep for `@app.exception_handler` or `exception_handlers.py` - If found: Return `{ "status": "skipped" }` --- ## Phase 2: Research Error Handling Patterns Use MCP tools to get up-to-date documentation. **For .NET:** ``` MCP ref: "ASP.NET Core global exception handling middleware" Context7: /dotnet/aspnetcore ``` **For Python:** ``` MCP ref: "FastAPI exception handlers custom exceptions" Context7: /tiangolo/fastapi ``` **Key Patterns to Research:** 1. Middleware pipeline positioning 2. Exception type mapping to HTTP status codes 3. ProblemDetails (RFC 7807) format 4. Development vs Production error details 5. Logging integration --- ## Phase 3: Decision Points ### Q1: Error Response Format | Option | Description ...

Details

Author
levnikolaevich
Repository
levnikolaevich/claude-code-skills
Created
7 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category