UNPKG

@libp2p/peer-record

Version:

Used to transfer signed peer data across the network

10 lines (9 loc) 225 B
/** * The key in the record is not valid for the domain */ export class InvalidSignatureError extends Error { constructor (message = 'Invalid signature') { super(message) this.name = 'InvalidSignatureError' } }