Skip to main content

Class: MissingExportsError

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

Extends

Constructors

new MissingExportsError()

new MissingExportsError(path: string): MissingExportsError

Parameters

ParameterType
pathstring

Returns

MissingExportsError

Overrides

LoaderError.constructor

Defined in

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

Properties

path

readonly path: string

The path of the module that did not have exports.

Defined in

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


type

readonly type: LoaderErrorType

The type of the error that was thrown.

Inherited from

LoaderError.type

Defined in

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

Accessors

name

get name(): string

Returns

string

Inherited from

LoaderError.name

Defined in

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