Class: LoaderError
Defined in: projects/pieces/src/lib/errors/LoaderError.ts:12
Describes a loader error with a type for easy identification.
Extends
Extended by
Constructors
new LoaderError()
new LoaderError(
type
:LoaderErrorType
,message
:string
):LoaderError
Defined in: projects/pieces/src/lib/errors/LoaderError.ts:18
Parameters
Parameter | Type |
---|---|
type | LoaderErrorType |
message | string |
Returns
Overrides
Error.constructor
Properties
type
readonly
type:LoaderErrorType
Defined in: projects/pieces/src/lib/errors/LoaderError.ts:16
The type of the error that was thrown.
Accessors
name
Get Signature
get name():
string
Defined in: projects/pieces/src/lib/errors/LoaderError.ts:23
Returns
string
Overrides
Error.name