UNPKG

@microsoft/useragent-sdk

Version:

SDK for building decentralized identity wallets and enterprise agents.

16 lines (15 loc) 394 B
/** * Base error class for the crypto protocols. */ export default class CryptoProtocolError extends Error { /** * The protocol name having the error. */ protocol: string; /** * Create instance of @class CryptoProtocolError * @param protocol name * @param message for the error */ constructor(protocol: string, message: string); }