exception-handling

Community

Robust error management for ASP.NET Core.

AuthorAGIBuild
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive strategies for handling exceptions in ASP.NET Core Razor Pages applications, ensuring graceful failures, informative logging, and a positive user experience.

Core Features & Use Cases

  • Global Exception Handling: Implement application-wide middleware to catch and manage all unhandled exceptions.
  • Custom Error Pages: Define user-friendly pages for displaying errors in production environments.
  • ProblemDetails API: Leverage built-in support for standardized API error responses.
  • Handler-Level Handling: Use TryAsync patterns for localized exception management within PageModels.
  • Use Case: When an unexpected error occurs during a user's request, this Skill ensures a helpful error page is shown instead of a raw server error, while logging the detailed exception for developers.

Quick Start

Configure global exception handling middleware in your Program.cs file.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: exception-handling
Download link: https://github.com/AGIBuild/Agibuild.Fulora/archive/main.zip#exception-handling

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.