home/categories/framework-internals/wellcrafted-dev-wellcrafted-claude-skills-define-errors-skill-md
framework-internalsdevelopment
define-errors
How to define and use defineErrors from wellcrafted. Use when creating new error types, updating error definitions, or reviewing error patterns. Covers variant factories, extractErrorMessage for cause, InferErrors/InferError for types, and call site patterns.
maintainer
wellcrafted-dev
Updated 3/11/2026
Stars
31
Forks
3
quick start
Installation and usage
How to define and use defineErrors from wellcrafted. Use when creating new error types, updating error definitions, or reviewing error patterns. Covers variant factories, extractErrorMessage for cause, InferErrors/InferError for types, and call site patterns.
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use define-errors