Error Handling

Define tagged errors and apply Wellcrafted Result patterns from fallible operation to final presentation. Use when a task involves error handling in TypeScript, defining defineErrors variants, replacing try/catch, adding trySync or tryAsync, choosing whether to propagate, recover from, or present a failure, or consuming Results with unwrap. For recording diagnostics, use logging; for cache lifecycle, use query-layer.

epicenterhq Updated 4.8k repo stars
Epicenter

File contents

epicenterhq/epicenter commit 962a4f0f00

Frequently asked questions

npx get-skill add epicenterhq/error-handling