go-error-handling

SKILLWorkflowcommunauté
v0.0.0cxuuApache-2.0Mis à jour il y a 2 moisSource →

Use when writing Go code that returns, wraps, or handles errors — choosing between sentinel errors, custom types, and fmt.Errorf (%w vs %v), structuring error flow, or deciding whether to log or return. Also use when propagating errors across package boundaries or using errors.Is/As, even if the use

Community-submitted skill. Not yet reviewed by the Forge team. Full prompt content may not be available.Request review →
142Étoiles du dépôt
1Clients
1Formats
il y a 2 moisDernière mise à jour
Skill
Auteurcxuu
Version0.0.0
LicenceApache-2.0
CatégorieWorkflow
Formatsskill.md
PromptNon publié
Compatibilité
Claude✓ Pris en charge
Cursor
Copilot
ChatGPT
Gemini
À propos

Use when writing Go code that returns, wraps, or handles errors — choosing between sentinel errors, custom types, and fmt.Errorf (%w vs %v), structuring error flow, or deciding whether to log or return. Also use when propagating errors across package boundaries or using errors.Is/As, even if the user doesn't ask about error strategy. Does not cover panic/recover patterns (see go-defensive).

Mots-clés
skillclaude