From shipshitdev-library
Implements error handling patterns, exception filters, error boundaries, retry logic, and recovery strategies for React, Next.js, and NestJS applications.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shipshitdev-library:error-handling-expertThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Implementing error handling
Before providing guidance:
.agents/memory/ for project architecture and error patternsApplication Errors: 400, 401, 403, 404, 409, 422 System Errors: 500, 502, 503, 504
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Validation failed",
"details": [...],
"timestamp": "2025-01-01T00:00:00Z",
"path": "/api/users",
"requestId": "req-123456"
}
}
@Catch()
export class AllExceptionsFilter implements ExceptionFilter {
catch(exception: unknown, host: ArgumentsHost) {
// Log, format, respond
}
}
class ErrorBoundary extends React.Component {
componentDidCatch(error, errorInfo) {
// Log to monitoring
}
}
async function retryWithBackoff<T>(fn, maxRetries = 3): Promise<T>
For complete exception filter implementations, custom exceptions, validation pipe setup, error boundaries, circuit breaker pattern, logging integration, and database/API error patterns, see: references/full-guide.md
npx claudepluginhub shipshitdev/skillsBuilds resilient applications with proper error handling using Result types, error boundaries, try-catch patterns, typed errors, and graceful degradation.
Standardizes API error handling with typed error classes, consistent error response formats, retry strategies, circuit breaker patterns, and monitoring integration. Useful for building resilient APIs or debugging production error patterns.
Implements error handling patterns: custom error hierarchies, structured logging, retry strategies, circuit breakers, and graceful degradation. Includes Express global error handler and anti-patterns checklist.