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

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

An Error class that provides additional context to an error.

Extends ​

  • Error

Extended by ​

Constructors ​

Constructor ​

ts
new ScopeError(child: Error, message?: string): ScopeError;

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

Creates a new ScopeError providing addtional context to the child error.

Parameters ​

ParameterTypeDescription
childErrorThe child error to extend.
message?stringAdditional message to prepend to the child error.

Returns ​

ScopeError

Overrides ​

ts
Error.constructor
Previous
ClassInfo
Next
Source