blong-error

Official

Define and throw typed, HTTP errors in Blong.

Authorfeasibleone
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Blong applications need structured, typed errors to convey precise failure reasons, HTTP status context, and safe propagation across realms.

Core Features & Use Cases

  • Centralized error definitions: define error keys once and reuse them across handlers.
  • Parameterized messages: inject dynamic values into error messages for clear reporting.
  • Error wrapping & HTTP status: attach a cause and statusCode to propagate context through layers.
  • Use cases: domain validation, API error responses, and consistent error handling in orchestration flows.

Quick Start

Define a new error key in error/error.ts, then throw it from a handler to demonstrate domain error handling.

Dependency Matrix

Required Modules

None required

Components

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: blong-error
Download link: https://github.com/feasibleone/blong/archive/main.zip#blong-error

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.