@bsv/wallet-toolbox
Version:
BRC100 conforming wallet, wallet storage and wallet signer components
12 lines • 501 B
TypeScript
import { WalletError } from './WalletError';
/**
* Reconstruct the correct derived WalletError from a JSON object created by `WalletError.unknownToJson`.
*
* This function is implemented as a separate function instead of a WalletError class static
* to avoid circular dependencies.
*
* @param json
* @returns a WalletError derived error object, typically for re-throw.
*/
export declare function WalletErrorFromJson(json: object): WalletError;
//# sourceMappingURL=WalletErrorFromJson.d.ts.map