error-messages
FeaturedWrite consistent, actionable validation error messages in gh-aw.
Install
Quality Score: 90/100
Skill Content
Details
- Author
- github
- Repository
- github/gh-aw
- Created
- 1 years ago
- Last Updated
- today
- Language
- Go
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
awesome-error-standards
Applies consistent error handling and user-facing messages: typed errors, operational-vs-programmer classification, API error envelopes, HTTP status mapping. Use when adding or refactoring error handling, designing an API error contract, reviewing failure paths, or 'обработка ошибок'. Do not use for log format, levels or PII redaction (awesome-logging-standards).
go-error-handling
Use when writing, reviewing, or refactoring error handling in Go — wrapping with %w, sentinel vs typed errors, errors.Is/errors.As, when panic is acceptable, error message style, and mapping domain errors to transport codes (HTTP/gRPC). Triggers on any Go code that returns, wraps, logs, or inspects errors.
designing-backend-error-messages
Designs backend API error contracts with a REST-default approach using RFC 9457 Problem Details, stable machine-readable codes, retry semantics, validation error payloads, observability, and security-safe messaging. Reviews existing error handling against a binary rubric and proposes concrete fixes. Produces optional artifacts such as errors.yaml entries, Problem Details examples, OpenAPI fragments, and runbook templates. Use when creating or revising backend error responses, auditing API error quality, mapping status/code behavior, or documenting error handling for REST, gRPC, GraphQL, and async services.