# Global error handling, domain exceptions, và Result pattern > **Skill**: `error-handling-patterns` > **Compatibility**: .NET 10+, Polly, FluentValidation, Microsoft.Extensions.Diagnostics.HealthChecks ## Tổng Quan Global error handling, domain exceptions, và Result pattern. Use for exception middleware, validation errors, Polly resiliency, và health checks. ## Khi Nào Sử Dụng 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 ## Tham Chiếu Nhanh Để biết chi tiết về patterns, code examples, và best practices, xem tài liệu skill đầy đủ. ## Skills Liên Quan Xem [Danh Mục Skills](./index.md) để tìm skills liên quan. ## Tài Nguyên Bổ Sung - **Tài Liệu Skill Đầy Đủ**: [`.agent/skills/error-handling-patterns/SKILL.md`](../../.agent/skills/error-handling-patterns/SKILL.md) - **Ví Dụ Code**: [`.agent/skills/error-handling-patterns/references/REFERENCE.md`](../../.agent/skills/error-handling-patterns/references/REFERENCE.md) --- **English Version**: [English Documentation](../../en/skills/error-handling-patterns.md)