Skip to content
E

error-handling

Error handling strategy for .NET 10 applications

by codewithmukeshFree

#8557in AI Skills
0In stores

Description

Error Handling is an agent skill that sets the error-handling strategy for .NET 10 applications. It tells the agent to use a Result pattern…

Highlights

  • Result pattern for expected failures
  • ProblemDetails (RFC 9457) error responses
  • Global exception handling for unexpected errors
  • Request validation at the API boundary
  • Generic result type holding a value or errors

Ratings & Reviews

No ratings yet

Be the first to rate error-handling.

People also visit

D

dotnet-10-csharp-14

Building .NET 10 or C# 14 applications

AI Skills
Get
R

resilience

Resilience patterns for .NET 10 applications using Polly v8

AI Skills
Get
C

configuration

Configuration patterns for .NET 10 applications

AI Skills
Get
D

dotnet-patterns

Idiomatic C# and .NET patterns, conventions, dependency injection, async/await

AI Skills
Get
H

handling-failures

Writing or touching any error path, catch block, fallback, default value, retry

AI Skills
Get
D

dotnet-design-pattern-review

Comprehensive C#/.NET design pattern analysis

AI Skills
Get

error-handling FAQ

What does the error-handling skill change in a .NET project?

It sets one approach for errors. Expected failures return a result object, unexpected failures go to a global handler, and API errors use ProblemDetails with type, title, status, detail and optional errors.

Which .NET version is it written for?

The skill targets .NET 10 applications.

How do I install it?

Run npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill error-handling in your project.

Where is the source?

The skill is published in the public GitHub repository codewithmukesh/dotnet-claude-kit.

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best error-handling alternatives?

Popular alternatives to error-handling include dotnet-10-csharp-14, resilience and configuration. See all error-handling alternatives

Developer Stuff

Badges