Skip to main content

Class: LoaderError

Describes a loader error with a type for easy identification.

Extends

Extended by

Constructors

new LoaderError()

new LoaderError(type: LoaderErrorType, message: string): LoaderError

Parameters

ParameterType
typeLoaderErrorType
messagestring

Returns

LoaderError

Overrides

Error.constructor

Defined in

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

Properties

type

readonly type: LoaderErrorType

The type of the error that was thrown.

Defined in

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

Accessors

name

Get Signature

get name(): string

Returns

string

Overrides

Error.name

Defined in

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