Files
pos-system/docs/en/skills/error-handling-patterns.md
Ho Ngoc Hai 6996e12ff0 docs: Add comprehensive Agent Skills documentation in English and Vietnamese
- Introduced new documentation for Agent Skills, detailing best practices, code patterns, common pitfalls, and quick references across various categories such as Architecture, Data Access, Security, Error Handling, Testing, Infrastructure, Communication, and Documentation.
- The documentation is structured to facilitate easy navigation and understanding, supporting developers in implementing consistent patterns on the GoodGo Platform.
- Both English and Vietnamese versions are provided to ensure accessibility for a wider audience.
2026-01-14 12:05:26 +07:00

1.4 KiB

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.

See Skills Index for related skills.

Additional Resources


Vietnamese Version: Tài liệu tiếng Việt