Skip to content

API reference / @jsprismarine/errors / prismarine/network

prismarine/network ​

Variables ​

PrismarineNetworkErrors ​

const PrismarineNetworkErrors: Readonly<{ AnvilDamageNotDecoded: typeof AnvilDamageNotDecoded; BlockPickRequestNotDecoded: typeof BlockPickRequestNotDecoded; BookEditNotDecoded: typeof BookEditNotDecoded; BufferCountMismatch: typeof BufferCountMismatch; ChunkRadiusRequestNotDecoded: typeof ChunkRadiusRequestNotDecoded; ChunkTooLargeForQueue: typeof ChunkTooLargeForQueue; CommandBlockUpdateNotDecoded: typeof CommandBlockUpdateNotDecoded; CommandRequestNotDecoded: typeof CommandRequestNotDecoded; CompressionChangedDuringFlush: typeof CompressionChangedDuringFlush; ContentPaletteMismatch: typeof ContentPaletteMismatch; DimensionWithoutType: typeof DimensionWithoutType; DisconnectNotDecoded: typeof DisconnectNotDecoded; DiscriminatorCountMismatch: typeof DiscriminatorCountMismatch; DumpFolderOwnedByOtherUser: typeof DumpFolderOwnedByOtherUser; DumpFolderWritableByOthers: typeof DumpFolderWritableByOthers; DumpPathNotFolder: typeof DumpPathNotFolder; DuplicateHandler: typeof DuplicateHandler; EmoteListNotDecoded: typeof EmoteListNotDecoded; EmptyBlockChangeBatch: typeof EmptyBlockChangeBatch; EmptyBlockChangeSubChunk: typeof EmptyBlockChangeSubChunk; EmptyMessage: typeof EmptyMessage; EmptyMovementBatch: typeof EmptyMovementBatch; EmptyPacketEncoding: typeof EmptyPacketEncoding; EmptySharedBatch: typeof EmptySharedBatch; FragmentKeyCountMismatch: typeof FragmentKeyCountMismatch; FragmentWithoutCodecKey: typeof FragmentWithoutCodecKey; FrameTooLargeForNethernet: typeof FrameTooLargeForNethernet; FurnaceOptionsNotDecoded: typeof FurnaceOptionsNotDecoded; InvalidChunkCacheLimit: typeof InvalidChunkCacheLimit; InvalidClientIdentityKey: typeof InvalidClientIdentityKey; InvalidReplayManifest: typeof InvalidReplayManifest; InvalidTraceRecord: typeof InvalidTraceRecord; InvalidTraceRecords: typeof InvalidTraceRecords; JavaVerifyTokenMismatch: typeof JavaVerifyTokenMismatch; LabTableNotDecoded: typeof LabTableNotDecoded; LecternUpdateNotDecoded: typeof LecternUpdateNotDecoded; LoadingScreenNotDecoded: typeof LoadingScreenNotDecoded; LoginNotDecoded: typeof LoginNotDecoded; LoginTokenIsNotJwt: typeof LoginTokenIsNotJwt; MissingBlockChange: typeof MissingBlockChange; MissingEncodedBlockPacket: typeof MissingEncodedBlockPacket; MissingEncodedMovement: typeof MissingEncodedMovement; MissingMovementBytes: typeof MissingMovementBytes; MovementPredictionSyncNotDecoded: typeof MovementPredictionSyncNotDecoded; NethernetFrameNotBatch: typeof NethernetFrameNotBatch; NetworkSettingsRequestNotDecoded: typeof NetworkSettingsRequestNotDecoded; NoHandler: typeof NoHandler; NoInputLaneHandler: typeof NoInputLaneHandler; NotABedrockSession: typeof NotABedrockSession; NotRaknetConnection: typeof NotRaknetConnection; PackSettingChangeNotDecoded: typeof PackSettingChangeNotDecoded; PartyChangedNotDecoded: typeof PartyChangedNotDecoded; PlayerHasLeft: typeof PlayerHasLeft; PlayerLocationNotDecoded: typeof PlayerLocationNotDecoded; PresenterHasNoSession: typeof PresenterHasNoSession; ProviderCannotRestoreReplay: typeof ProviderCannotRestoreReplay; PurchaseReceiptNotDecoded: typeof PurchaseReceiptNotDecoded; ReplayConnectionClosed: typeof ReplayConnectionClosed; ReplayConnectionNotOpen: typeof ReplayConnectionNotOpen; ReplayFrameHasSeveralPackets: typeof ReplayFrameHasSeveralPackets; ReplayManifestNotJson: typeof ReplayManifestNotJson; ReplayOutOfOrder: typeof ReplayOutOfOrder; ReplayPacketHasNoHandler: typeof ReplayPacketHasNoHandler; ReplayPacketNotDecodable: typeof ReplayPacketNotDecodable; ReplayPacketOutOfSequence: typeof ReplayPacketOutOfSequence; ReplayPacketRejected: typeof ReplayPacketRejected; ReplayProtocolMismatch: typeof ReplayProtocolMismatch; ReplayProviderMismatch: typeof ReplayProviderMismatch; ReplayTickMismatch: typeof ReplayTickMismatch; RespawnDimensionNotReady: typeof RespawnDimensionNotReady; RespawnNotDecoded: typeof RespawnNotDecoded; ScriptMessageNotDecoded: typeof ScriptMessageNotDecoded; SetDifficultyNotDecoded: typeof SetDifficultyNotDecoded; SetGameTypeNotDecoded: typeof SetGameTypeNotDecoded; SettingsCommandNotDecoded: typeof SettingsCommandNotDecoded; SeveralTransportsFailedToClose: typeof SeveralTransportsFailedToClose; SpawnLostDuringJoin: typeof SpawnLostDuringJoin; StructureBlockUpdateNotDecoded: typeof StructureBlockUpdateNotDecoded; StructureTemplateRequestNotDecoded: typeof StructureTemplateRequestNotDecoded; TraceNotJson: typeof TraceNotJson; TraceOutOfOrder: typeof TraceOutOfOrder; UnexpectedJavaPacket: typeof UnexpectedJavaPacket; UnknownHeldBlock: typeof UnknownHeldBlock; UnsupportedReplayManifest: typeof UnsupportedReplayManifest; UnsupportedTraceFormat: typeof UnsupportedTraceFormat; }>

Defined in: packages/errors/src/prismarine/network.ts:3155

The errors the network code of @jsprismarine/prismarine throws.