@bsv/wallet-toolbox-client
Version:
Client only Wallet Storage
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