Skip to main content

Class: MissingExportsError

Defined in: projects/pieces/src/lib/errors/MissingExportsError.ts:6

Describes a LoaderErrorType.EmptyModule loader error and adds a path for easy identification.

Extends

Constructors

new MissingExportsError()

new MissingExportsError(path: string): MissingExportsError

Defined in: projects/pieces/src/lib/errors/MissingExportsError.ts:12

Parameters

ParameterType
pathstring

Returns

MissingExportsError

Overrides

LoaderError.constructor

Properties

path

readonly path: string

Defined in: projects/pieces/src/lib/errors/MissingExportsError.ts:10

The path of the module that did not have exports.


type

readonly type: LoaderErrorType

Defined in: projects/pieces/src/lib/errors/LoaderError.ts:16

The type of the error that was thrown.

Inherited from

LoaderError.type

Accessors

name

Get Signature

get name(): string

Defined in: projects/pieces/src/lib/errors/LoaderError.ts:23

Returns

string

Inherited from

LoaderError.name