Skip to content

ModuleInvalid

Defined in: ModuleResolver.ts:61

A module could not be imported, or plugin resolution found no plugin export.

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

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

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

ModuleInvalid

Property Modifier Type Default value Defined in
_tag readonly "ModuleInvalid" undefined ../../../node_modules/.pnpm/[email protected]/node_modules/effect/dist/Schema.d.ts:5110
brand readonly typeof brand undefined ModuleResolver.ts:63
cause public unknown Schema.Unknown ModuleResolver.ts:64
specifier readonly string Schema.String ModuleResolver.ts:64
get message(): string;

Defined in: ModuleResolver.ts:65

string