Skip to content

InvalidOperation

Defined in: Tree.ts:33

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

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

Parameter Type
…args [props: { _tag?: "InvalidOperation"; cause?: unknown; reason: string; }, options?: MakeOptions]

InvalidOperation

Property Modifier Type Default value Defined in
_tag readonly "InvalidOperation" undefined ../../../node_modules/.pnpm/[email protected]/node_modules/effect/dist/Schema.d.ts:5110
brand readonly typeof brand undefined Tree.ts:35
cause? public unknown ... Tree.ts:38
reason readonly string Schema.String Tree.ts:37
get message(): string;

Defined in: Tree.ts:40

string