UNPKG

verifiablecredentials-crypto-sdk-typescript-keystore

Version:
17 lines (16 loc) 429 B
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); }