Signature
tsSignature
export type Err<E> = { ok: false; error: E;};Imports
tsImport
import { Err } from "@/lib/flow/core/result";import { Err } from "@/lib/flow";Type Parameters
EExpected error value type.
Details
`Err` carries expected domain errors. Runtime failures such as cancellation and thrown
exceptions are modeled separately by the runtime helpers.
Related Symbols
ok
Re-exports core result helpers used by advanced record internals.
re-export
thrown
Re-exports core result helpers used by advanced record internals.
re-export
Source
tsflow/core/result.ts:32-35
export type Err<E> = { ok: false; error: E;};