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.

wellcrafted-dev
maintainer
wellcrafted-dev
Обновлено 3/11/2026
Звёзды
31
Форки
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.

Установка
$ install --globalskills.sh
Использование

После установки вы можете использовать этот skill, выполнив следующую команду в терминале:

skills use define-errors