9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement
Error
NativeScriptError
interface NativeScriptError extends Error {
  nativeException: any;
  stack: string;
  stackTrace: string;
}
An extended JavaScript Error which will have the nativeError property initialized in case the error is caused by executing platform-specific code.

Summary ​

Properties

nativeException
stack
stackTrace
2 properties inherited from Error
Click to expand

Properties ​

nativeException ​

nativeException?: any
Represents the native error object.

stack ​

stack?: string
Javascript portion of stack trace.

stackTrace ​

stackTrace?: string