Skip to content

API reference / @jsprismarine/errors / raknet

raknet ​

Variables ​

RaknetErrors ​

const RaknetErrors: Readonly<{ AlreadyConnected: typeof AlreadyConnected; ClientSocketClosed: typeof ClientSocketClosed; ClientSocketKilled: typeof ClientSocketKilled; ConnectionRefused: typeof ConnectionRefused; ConnectionTimedOut: typeof ConnectionTimedOut; DisconnectedBeforeHandshakeCompleted: typeof DisconnectedBeforeHandshakeCompleted; EmbeddedWorkerOutsideExecutable: typeof EmbeddedWorkerOutsideExecutable; InvalidFragmentIndex: typeof InvalidFragmentIndex; InvalidFrameLength: typeof InvalidFrameLength; InvalidIpv4Address: typeof InvalidIpv4Address; InvalidIpv6Address: typeof InvalidIpv6Address; InvalidRingCapacity: typeof InvalidRingCapacity; InvalidRingRecord: typeof InvalidRingRecord; InvalidUdpBufferSize: typeof InvalidUdpBufferSize; LoopbackHandshakeTimedOut: typeof LoopbackHandshakeTimedOut; LoopbackSocketClosed: typeof LoopbackSocketClosed; PingOnClosedSocket: typeof PingOnClosedSocket; PingTimedOut: typeof PingTimedOut; RingMemoryWrongSize: typeof RingMemoryWrongSize; SendOnStoppedWorker: typeof SendOnStoppedWorker; ServerNameWithoutVersion: typeof ServerNameWithoutVersion; StartStoppedWorkerSocket: typeof StartStoppedWorkerSocket; TooManyFramesInDatagram: typeof TooManyFramesInDatagram; WorkerExitedWithCode: typeof WorkerExitedWithCode; WorkerFailed: typeof WorkerFailed; WorkerHasNoParentPort: typeof WorkerHasNoParentPort; WorkerQueueIsFull: typeof WorkerQueueIsFull; WorkerReceivedInvalidStartupData: typeof WorkerReceivedInvalidStartupData; WorkerSocketAlreadyStarted: typeof WorkerSocketAlreadyStarted; WorkerSocketNotStarted: typeof WorkerSocketNotStarted; }>

Defined in: packages/errors/src/raknet.ts:959

The errors @jsprismarine/raknet throws.