Help prepare for 2025 → Answer 8 simple questions on our Fall Survey
Open Survey
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