@chainsafe/libp2p-gossipsub
Version:
A typescript implementation of gossipsub
15 lines • 542 B
JavaScript
export class InvalidPeerScoreParamsError extends Error {
static name = 'InvalidPeerScoreParamsError';
constructor(message = 'Invalid peer score params') {
super(message);
this.name = 'InvalidPeerScoreParamsError';
}
}
export class InvalidPeerScoreThresholdsError extends Error {
static name = 'InvalidPeerScoreThresholdsError';
constructor(message = 'Invalid peer score thresholds') {
super(message);
this.name = 'InvalidPeerScoreThresholdsError';
}
}
//# sourceMappingURL=errors.js.map