Signature
tsSignature
export type ErrorUnion<B extends BehaviorRecord> = BehaviorError<B[keyof B]>;Imports
tsImport
import { ErrorUnion } from "@/lib/flow/core/record";import { ErrorUnion } from "@/lib/flow";Type Parameters
BBehavior record to inspect.
Related Symbols
BehaviorError
Extracts the expected domain error type from a behavior.
type
BehaviorRecord
Object map of named behaviors for `all`, `allSettled`, and `race`.
type
Source
tsflow/core/record.ts:69-69
export type ErrorUnion<B extends BehaviorRecord> = BehaviorError<B[keyof B]>;