Preview 2.0 is now in Public Beta!
Read the Announcement
Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
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