go-error-handling

SKILLWorkflowCommunity
v0.0.0cxuuApache-2.0Aktualisiert vor 2 Mon.Quelle →

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 →
142Repo-Sterne
1Clients
1Formate
vor 2 Mon.Letzte Aktualisierung
Skill
Autorcxuu
Version0.0.0
LizenzApache-2.0
KategorieWorkflow
Formateskill.md
PromptNicht veröffentlicht
Kompatibilität
Claude✓ Unterstützt
Cursor
Copilot
ChatGPT
Gemini
Über

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).

Schlagwörter
skillclaude