mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-04 00:31:04 +00:00
32 lines
1.2 KiB
JavaScript
32 lines
1.2 KiB
JavaScript
'use strict'
|
|
|
|
exports.messages = {
|
|
NOT_STARTED_YET: 'The libp2p node is not started yet',
|
|
DHT_DISABLED: 'DHT is not available'
|
|
}
|
|
|
|
exports.codes = {
|
|
DHT_DISABLED: 'ERR_DHT_DISABLED',
|
|
PUBSUB_NOT_STARTED: 'ERR_PUBSUB_NOT_STARTED',
|
|
DHT_NOT_STARTED: 'ERR_DHT_NOT_STARTED',
|
|
ERR_CONNECTION_ENDED: 'ERR_CONNECTION_ENDED',
|
|
ERR_CONNECTION_FAILED: 'ERR_CONNECTION_FAILED',
|
|
ERR_NODE_NOT_STARTED: 'ERR_NODE_NOT_STARTED',
|
|
ERR_ALREADY_ABORTED: 'ERR_ALREADY_ABORTED',
|
|
ERR_NO_VALID_ADDRESSES: 'ERR_NO_VALID_ADDRESSES',
|
|
ERR_DISCOVERED_SELF: 'ERR_DISCOVERED_SELF',
|
|
ERR_DUPLICATE_TRANSPORT: 'ERR_DUPLICATE_TRANSPORT',
|
|
ERR_ENCRYPTION_FAILED: 'ERR_ENCRYPTION_FAILED',
|
|
ERR_HOP_REQUEST_FAILED: 'ERR_HOP_REQUEST_FAILED',
|
|
ERR_INVALID_KEY: 'ERR_INVALID_KEY',
|
|
ERR_INVALID_MESSAGE: 'ERR_INVALID_MESSAGE',
|
|
ERR_INVALID_PARAMETERS: 'ERR_INVALID_PARAMETERS',
|
|
ERR_INVALID_PEER: 'ERR_INVALID_PEER',
|
|
ERR_MUXER_UNAVAILABLE: 'ERR_MUXER_UNAVAILABLE',
|
|
ERR_TIMEOUT: 'ERR_TIMEOUT',
|
|
ERR_TRANSPORT_UNAVAILABLE: 'ERR_TRANSPORT_UNAVAILABLE',
|
|
ERR_TRANSPORT_DIAL_FAILED: 'ERR_TRANSPORT_DIAL_FAILED',
|
|
ERR_UNSUPPORTED_PROTOCOL: 'ERR_UNSUPPORTED_PROTOCOL',
|
|
ERR_INVALID_MULTIADDR: 'ERR_INVALID_MULTIADDR'
|
|
}
|