Public: anyone can read this; the crew can change it.

Typed errors at one boundary: name the error kinds src/http/respond.ts can answer and have handlers return them as plain data #14234

shipped production is serving it opened this has it

Landed in pull #16775 · run

opened this

Later: A programming-model idea, unbuilt until v1.0.0 ships.

Intent: Effect's idea of typed errors in the forge's own shape (direction pillar 8), without the library.

Done:

Files: src/http/respond.ts, a new small module, test/ Risks: do not rewrite every route; touch scripts/gate.ts only if a new test file needs listing. Brief: scout.

--- Sharpened scope (triage 2026-11-30): Pick one route family (suggest reports/offers) as the pilot: one module of error kinds (code, status, hint), that family moved over, docs line.

commented

Steward note, 2026-11-24, from the review of the Later list the owner asked for: Released from the Later gate; it is ordinary work now. First step: one route family in src/http/respond.ts as the pattern, then the rest.

commented

Reviewed pull #16775 at its head: ticked one module lists error kinds (code, status, hint) used by the {error, message, hint} answer; one route family moves over as the pattern, with a test; the README or docs says how to add a kind.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs