What problem does it solve? Inconsistent error responses across an ERP backend make APIs hard to consume and debug. This Skill standardizes how business errors, validation failures, and technical exceptions are produced in .NET handlers and returned to clients as RFC 7807 ProblemDetails responses. ## Core Features & Use Cases - Result Pattern: Implements Result<T> and Error primitives so business failures are returned as values instead of thrown exceptions. - Global Exception Middleware: Catches ValidationException, DomainException, and unhandled exceptions, mapping each to the correct HTTP status with ProblemDetails payloads. - Controller Extensions: Provides ToActionResult extensions that map error codes like .not_found, .conflict, and .validation to 404, 409, and 422 responses. - Frontend Integration: Includes an Axios interceptor that handles 401 redirects, 403 toasts, and 422 validation errors for React Hook Form. - Use Case: When building a MediatR-based ASP.NET Core API, apply this pattern so a failed ApproveInvoiceCommand returns a structured 409 Conflict ProblemDetails response instead of an unhandled 500 error. ## Quick Start Ask the AI to implement the Result pattern with global exception middleware and ProblemDetails responses for your ASP.NET Core controller.