Class ModuleLoadError
Hierarchy
- Error
- ModuleLoadError
Index
Constructors
Methods
Properties
Constructors
constructor
- new ModuleLoadError(options: { code: string; message: string }): ModuleLoadError
Parameters
Returns ModuleLoadError
Provides a custom error for Node to combine CJS and ESM module not found errors.