# Global error handling, domain exceptions, và Result pattern

> **Skill**: `error-handling-patterns`  
> **Compatibility**: .NET 10+, Polly, FluentValidation, Microsoft.Extensions.Diagnostics.HealthChecks

## Overview

Global error handling, domain exceptions, và Result pattern. Use for exception middleware, validation errors, Polly resiliency, và health checks.

## When to Use

Use this skill when:
- Implementing global exception handling / Triển khai xử lý exception toàn cục
- Creating domain exceptions / Tạo domain exceptions
- Setting up retry policies with Polly / Cài đặt retry policies với Polly
- Implementing Circuit Breaker pattern / Triển khai Circuit Breaker
- Configuring health checks / Cấu hình health checks
- Handling validation errors / Xử lý validation errors

## Quick Reference

For detailed patterns, code examples, and best practices, refer to the full skill documentation.

## Related Skills

See [Skills Index](./index.md) for related skills.

## Additional Resources

- **Full Skill Documentation**: [`...agent/skills/error-handling-patterns/SKILL.md`](../../.agent/skills/error-handling-patterns/SKILL.md)
- **Code Examples**: [`...agent/skills/error-handling-patterns/references/REFERENCE.md`](../../.agent/skills/error-handling-patterns/references/REFERENCE.md)

---

**Vietnamese Version**: [Tài liệu tiếng Việt](../../vi/skills/error-handling-patterns.md)
