PolicyError
Defined in: internal/policyModel.ts:58
Extends
Section titled “Extends”- {
_tag:"PolicyError";cause?:Cause<unknown>;message:string; } &YieldableError<this> & {brand: typeofbrand; }
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PolicyError(...args: [props: { _tag?: "PolicyError"; cause?: Cause<unknown>; message: string;}, options?: MakeOptions]): PolicyError;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?: "PolicyError"; cause?: Cause<unknown>; message: string; }, options?: MakeOptions] |
Returns
Section titled “Returns”PolicyError
Properties
Section titled “Properties”| Property | Modifier | Type | Default value | Defined in |
|---|---|---|---|---|
_tag |
readonly |
"PolicyError" |
undefined |
../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:5110 |
brand |
readonly |
typeof brand |
undefined |
internal/policyModel.ts:60 |
cause? |
public |
Cause<unknown> |
... |
internal/policyModel.ts:63 |
message |
public |
string |
Schema.String |
internal/policyModel.ts:62 |