Interface: NativeError

An Error that has occurred in native Android or iOS code converted into a JavaScript Error.

Extends

  • Error

Properties

code

readonly code: string

Error code, e.g. invalid-parameter

message

readonly message: string

Error message

Overrides

Error.message

name

name: string

Inherited from

Error.name

Defined in

node_modules/typescript/lib/lib.es5.d.ts:1076

nativeErrorCode

readonly nativeErrorCode: string | number

The native returned error code, different per platform

nativeErrorMessage

readonly nativeErrorMessage: string

The native returned error message, different per platform

stack?

optional stack: string

Inherited from

Error.stack

Defined in

node_modules/typescript/lib/lib.es5.d.ts:1078