@libp2p/interface-connection-encrypter
Version:
Connection Encrypter interface for libp2p
16 lines • 560 B
TypeScript
export declare class UnexpectedPeerError extends Error {
code: string;
constructor(message?: string);
static readonly code = "ERR_UNEXPECTED_PEER";
}
export declare class InvalidCryptoExchangeError extends Error {
code: string;
constructor(message?: string);
static readonly code = "ERR_INVALID_CRYPTO_EXCHANGE";
}
export declare class InvalidCryptoTransmissionError extends Error {
code: string;
constructor(message?: string);
static readonly code = "ERR_INVALID_CRYPTO_TRANSMISSION";
}
//# sourceMappingURL=errors.d.ts.map