Files
js-libp2p-interfaces/src/crypto/errors.d.ts
2020-09-30 11:21:11 +02:00

16 lines
423 B
TypeScript

export class UnexpectedPeerError extends Error {
static get code(): string;
constructor(message?: string);
code: string;
}
export class InvalidCryptoExchangeError extends Error {
static get code(): string;
constructor(message?: string);
code: string;
}
export class InvalidCryptoTransmissionError extends Error {
static get code(): string;
constructor(message?: string);
code: string;
}