9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement

Defined in: utils/debug.d.ts:56

Represents a scope error providing addiot

Extends

Constructors

Constructor

ts
new SourceError(
   child: Error, 
   source: Source, 
   message?: string): SourceError;

Defined in: utils/debug.d.ts:63

Creates a new SourceError by child error, source and optional message.

Parameters

ParameterTypeDescription
childErrorThe child error to extend.
sourceSourceThe source where the error occured.
message?stringAdditonal message to prepend along the source location and the child error's message.

Returns

SourceError

Overrides

ScopeError.constructor

Previous
Source