8.8 released—CSS Media Query support, SF Symbols and much more...
Learn more
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