Skip to content

API ReferenceErrorsClass

NoBrowserWalletError

This error is thrown if, based on configuration, the SDK expects a browser wallet to exist and one is not found. If this error is thrown, the parent app should prompt the user to install a browser wallet.

Extends

Constructors

Constructor

new NoBrowserWalletError(message, cause?): NoBrowserWalletError;

Parameters

ParameterType
messagestring
cause?unknown

Returns

NoBrowserWalletError

Overrides

BaseError.constructor

Methods

walk()

walk<T>(errorType): T | undefined;

Checks if the provided ErrorType is in the error hierarchy for the current error.

Type Parameters

Type ParameterDescription
T extends ErrorThe type of the error being searched for.

Parameters

ParameterTypeDescription
errorType(…args) => TThe error type to find.

Returns

T | undefined

The error, if it is found in the hierarchy, otherwise undefined.

Inherited from

BaseError.walk