This skill automates the implementation of standardized API error handling patterns across various web frameworks like Express, FastAPI, and Spring Boot. It streamlines the creation of RFC 7807 Problem Details responses, centralized error-handling middleware, and typed error classes such as ValidationError and NotFoundError. By integrating environment-aware logging and error monitoring, it ensures that production environments remain secure by hiding sensitive stack traces while providing developers with detailed diagnostic information in development environments, leading to more maintainable and professional backend services.
주요 기능
01Creates a suite of typed error classes for common HTTP status codes
02Standardizes responses using RFC 7807 Problem Details specification
03Integrates with error monitoring services like Sentry and Bugsnag
040 GitHub stars
05Generates centralized error-handling middleware for multiple frameworks
06Implements environment-aware formatting to prevent production data leaks
사용 사례
01Ensuring security compliance by stripping internal stack traces from public logs
02Bootstrapping error handling for a new backend service with proper status codes
03Refactoring a legacy API to use consistent, machine-readable error responses