Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Aquaticat/Monochromatic. TypeScript and Rust monorepo: Claude Code and Pi coding-agent plugins, a m
Something went wrong. Try again.
1234567891011121314151617181920/** Expression-position throwing helper. Use {@link throws}`(error,)` when JavaScript syntax requires an expression but the domain model requires throwing a prebuilt `Error`. Prefer statement `throw` in ordinary control flow, and prefer `module-or-throw` validators when the desired operation is checking a value and returning that same value. @example ```ts import { throws, } from '@monochromatic-dev/module-throws'; const token = maybeToken ?? throws(new MissingTokenError(),); ``` @packageDocumentation */
export { throws, } from './throws.ts';