Skip to main content

CancelError

@authgear/capacitor


@authgear/capacitor / CancelError

Class: CancelError

CancelError means cancel. If you catch an error and it is instanceof CancelError, then the operation was cancelled.

Extends​

Constructors​

Constructor​

new CancelError(message?): CancelError

Parameters​

message?​

string

Returns​

CancelError

Inherited from​

AuthgearError.constructor

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.

Inherited from​

AuthgearError.underlyingError