Interface: NativeError

Defined in: packages/react-native/src/types/Library.ts:8

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

Extends

  • Error

Properties

code

readonly code: string

Defined in: packages/react-native/src/types/Library.ts:12

Error code, e.g. invalid-parameter

message

readonly message: string

Defined in: packages/react-native/src/types/Library.ts:17

Error message

Overrides

Error.message

name

name: string

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

Inherited from

Error.name

nativeErrorCode

readonly nativeErrorCode: string | number

Defined in: packages/react-native/src/types/Library.ts:22

The native returned error code, different per platform

nativeErrorMessage

readonly nativeErrorMessage: string

Defined in: packages/react-native/src/types/Library.ts:27

The native returned error message, different per platform

stack?

optional stack: string

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

Inherited from

Error.stack