Skip to main content

AuthgearError

@authgear/react-native / AuthgearError

Class: AuthgearError

AuthgearError is the root class of error produced by the SDK.

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new AuthgearError(message?)

Parameters

NameType
message?string

Inherited from

Error.constructor

Defined in

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

Properties

underlyingError

Optional underlyingError: unknown

underlyingError is the underlying error. The type is unknown because it is possible to throw anything in JavaScript. Use ordinary approaches, such as instanceof operator, to identify what it is.

Defined in

packages/authgear-react-native/index.d.ts:14