verifiablecredentials-crypto-sdk-typescript-keystore
Version:
Package for managing keys in a key store.
17 lines (16 loc) • 429 B
TypeScript
import { CryptoAlgorithm } from './IKeyStore';
/**
* Base error class for the crypto.
*/
export default class CryptoError extends Error {
/**
* The algorithm name having the error.
*/
algorithm: CryptoAlgorithm;
/**
* Create instance of @class CryptoProtocolError
* @param protocol name
* @param message for the error
*/
constructor(algorithm: CryptoAlgorithm, message: string);
}