UNPKG

@cmdcode/musig2

Version:

Create digital signatures based on the Musig2 protocol.

11 lines 348 B
export class KeyOperationError extends Error { constructor(report) { const { reason = 'Key operation failed!' } = report; super(reason); this.name = 'KeyOperationError'; this.pubkey = report.pubkey; this.type = report.type; this.data = report.data ?? []; } } //# sourceMappingURL=error.js.map