InvalidOperation
Defined in: Tree.ts:33
Extends
Section titled “Extends”- {
_tag:"InvalidOperation";cause?:unknown;reason:string; } &YieldableError<this> & {brand: typeofbrand; }
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InvalidOperation(...args: [props: { _tag?: "InvalidOperation"; cause?: unknown; reason: string;}, options?: MakeOptions]): InvalidOperation;Defined in: ../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:11613
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: { _tag?: "InvalidOperation"; cause?: unknown; reason: string; }, options?: MakeOptions] |
Returns
Section titled “Returns”InvalidOperation
Properties
Section titled “Properties”| Property | Modifier | Type | Default value | Defined in |
|---|---|---|---|---|
_tag |
readonly |
"InvalidOperation" |
undefined |
../../../node_modules/.pnpm/effect@4.1.2/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 |
Accessors
Section titled “Accessors”message
Section titled “message”Get Signature
Section titled “Get Signature”get message(): string;Defined in: Tree.ts:40
Returns
Section titled “Returns”string