AuthgearError
@authgear/capacitor / AuthgearError
Class: AuthgearError
AuthgearError is the root class of error produced by the SDK.
Extends
Error
Extended by
CancelErrorOAuthErrorPreAuthenticatedURLNotAllowedErrorServerErrorBiometricLockoutErrorBiometricNoEnrollmentErrorBiometricNoPasscodeErrorBiometricNotSupportedOrPermissionDeniedErrorBiometricPrivateKeyNotFoundError
Constructors
Constructor
new AuthgearError(
message?):AuthgearError
Parameters
message?
string
Returns
AuthgearError
Inherited from
Error.constructor
Properties
underlyingError?
optionalunderlyingError: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.