UNPKG

@microsoft/useragent-sdk

Version:

SDK for building decentralized identity wallets and enterprise agents.

17 lines (16 loc) 454 B
import { CryptoAlgorithm } from "./keyStore/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); }