home/categories/framework-internals/epicenterhq-epicenter-agents-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.

EpicenterHQ
maintainer
EpicenterHQ
अपडेट किया गया 3/17/2026
स्टार
4394
फोर्क
319
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
उपयोग

इंस्टॉल करने के बाद, आप टर्मिनल में यह कमांड चलाकर इस स्किल का उपयोग कर सकते हैं:

skills use define-errors