Skip to content

CleanupError

Defined in: Fork.ts:21

A disposal failure retains the original typed errors, defects, and interruption reasons.

  • { _tag: "CleanupError"; cause: Cause<unknown>; } & YieldableError<this> & { brand: typeof brand; }
new CleanupError(...args: [props: {
_tag?: "CleanupError";
cause: Cause<unknown>;
}, options?: MakeOptions]): CleanupError;

Defined in: ../../../node_modules/.pnpm/[email protected]/node_modules/effect/dist/Schema.d.ts:11613

Parameter Type
…args [props: { _tag?: "CleanupError"; cause: Cause<unknown>; }, options?: MakeOptions]

CleanupError

Property Modifier Type Defined in
_tag readonly "CleanupError" ../../../node_modules/.pnpm/[email protected]/node_modules/effect/dist/Schema.d.ts:5110
brand readonly typeof brand Fork.ts:23
cause public Cause<unknown> Fork.ts:25
get message(): string;

Defined in: Fork.ts:27

string