NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration
Dig in

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