@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
51 lines • 2.57 kB
TypeScript
export declare enum Libp2pError {
MissingServiceError = "MissingServiceError",
UnmetServiceDependenciesError = "UnmetServiceDependenciesError",
NoContentRoutersError = "NoContentRoutersError",
NoPeerRoutersError = "NoPeerRoutersError",
QueriedForSelfError = "QueriedForSelfError",
UnhandledProtocolError = "UnhandledProtocolError",
DuplicateProtocolHandlerError = "DuplicateProtocolHandlerError",
DialDeniedError = "DialDeniedError",
UnsupportedListenAddressError = "UnsupportedListenAddressError",
UnsupportedListenAddressesError = "UnsupportedListenAddressesError",
NoValidAddressesError = "NoValidAddressesError",
ConnectionInterceptedError = "ConnectionInterceptedError",
ConnectionDeniedError = "ConnectionDeniedError",
MuxerUnavailableError = "MuxerUnavailableError",
EncryptionFailedError = "EncryptionFailedError",
TransportUnavailableError = "TransportUnavailableError",
AbortError = "AbortError",
UnexpectedPeerError = "UnexpectedPeerError",
InvalidCryptoExchangeError = "InvalidCryptoExchangeError",
InvalidParametersError = "InvalidParametersError",
InvalidPublicKeyError = "InvalidPublicKeyError",
InvalidPrivateKeyError = "InvalidPrivateKeyError",
UnsupportedOperationError = "UnsupportedOperationError",
ConnectionClosingError = "ConnectionClosingError",
ConnectionClosedError = "ConnectionClosedError",
ConnectionFailedError = "ConnectionFailedError",
MuxerClosedError = "MuxerClosedError",
StreamResetError = "StreamResetError",
StreamStateError = "StreamStateError",
NotFoundError = "NotFoundError",
InvalidPeerIdError = "InvalidPeerIdError",
InvalidMultiaddrError = "InvalidMultiaddrError",
InvalidCidError = "InvalidCIDError",
InvalidMultihashError = "InvalidMultihashError",
UnsupportedProtocolError = "UnsupportedProtocolError",
InvalidMessageError = "InvalidMessageError",
ProtocolError = "ProtocolError",
TimeoutError = "TimeoutError",
NotStartedError = "NotStartedError",
AlreadyStartedError = "AlreadyStartedError",
DialError = "DialError",
ListenError = "ListenError",
LimitedConnectionError = "LimitedConnectionError",
TooManyInboundProtocolStreamsError = "TooManyInboundProtocolStreamsError",
TooManyOutboundProtocolStreamsError = "TooManyOutboundProtocolStreamsError",
UnsupportedKeyTypeError = "UnsupportedKeyTypeError",
OtherError = "OtherError"
}
export declare function getLibp2pError(error: Error): Libp2pError;
//# sourceMappingURL=error.d.ts.map