UNPKG

errgo-ts

Version:

A lightweight error handling library inspired by Go and Rust.

6 lines (5 loc) 233 B
import { coerceError } from "./coerce-error.js"; import { propagateError } from "./propagate-error.js"; import { safeTry } from "./safe-try.js"; import scope from "./scope.js"; export { coerceError, propagateError, safeTry, scope };