go-errors
CommunityGo error handling patterns.
AuthorJamesPrial
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Core patterns for error handling, including wrapping, sentinel errors, and type inspection.
Core Features & Use Cases
- Wrapping: Preserve error chains with context using %w.
- Sentinel: Define and use sentinel errors for expected conditions.
- Inspection: errors.Is and errors.As for robust error handling.
Quick Start
Wrap a lower-level error with context and propagate it upward with %w.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: go-errors Download link: https://github.com/JamesPrial/claudefiles/archive/main.zip#go-errors Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.