PrivateStateError
Defined in: src/PrivateState.ts:50
Error from private state operations.
Since
0.3.0
Extends
YieldableError<this> &object&Readonly<{cause:unknown;message:string; }>
Constructors
Constructor
new PrivateStateError(
args):PrivateStateError
Defined in: node_modules/.pnpm/effect@3.21.0/node_modules/effect/dist/dts/Data.d.ts:610
Parameters
args
cause
unknown
message
string
Returns
PrivateStateError
Inherited from
Data.TaggedError('PrivateStateError')<{ readonly cause: unknown; readonly message: string; }>.constructor
Properties
cause
cause:
unknown
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
Data.TaggedError('PrivateStateError').cause
message
message:
string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Data.TaggedError('PrivateStateError').message