Signature
tsSignature
export function thrown(error: unknown): Err<Thrown>;Imports
tsImport
import { thrown } from "@/lib/flow/core/runtime";import { thrown } from "@/lib/flow";Parameters
errorunknown
Exception or thrown value.
Returns
A failed result containing `Thrown`.
Related Symbols
Source
tsflow/core/runtime.ts:237-239
export function thrown(error: unknown): Err<Thrown> { return err({ kind: "thrown", error });}