CreateError
Defined in: index.ts:29
Extends
Section titled “Extends”- {
_tag:"CreateError";directory:string;message:string; } &YieldableError<this> & {brand: typeofbrand; }
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CreateError(...args: [props: { _tag?: "CreateError"; directory: string; message: string;}, options?: MakeOptions]): CreateError;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?: "CreateError"; directory: string; message: string; }, options?: MakeOptions] |
Returns
Section titled “Returns”CreateError
Properties
Section titled “Properties”| Property | Modifier | Type | Default value | Defined in |
|---|---|---|---|---|
_tag |
readonly |
"CreateError" |
undefined |
../../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.d.ts:5110 |
brand |
readonly |
typeof brand |
undefined |
index.ts:31 |
directory |
readonly |
string |
Schema.String |
index.ts:33 |
message |
public |
string |
Schema.String |
index.ts:34 |