8.6 Released with 🥽 visionOS support and more!
Check it out
SourceError
Represents a scope error providing addiot

Summary ​

Constructors

constructor

Constructors ​

constructor ​

new SourceError(child: Error, source: Source, message?: string): SourceError
Creates a new SourceError by child error, source and optional message.
Parameter Default Description
child
Error

The child error to extend.

source

The source where the error occured.

message
string

Additonal message to prepend along the source location and the child error's message.

Returns SourceError