Help prepare for 2025 → Answer 8 simple questions on our Fall Survey
Open Survey
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