API reference / @jsprismarine/errors / protocol/codec
protocol/codec
Variables
ProtocolCodecErrors
constProtocolCodecErrors:Readonly<{AttributeLayerDataNotDecoded: typeofAttributeLayerDataNotDecoded;BatchChecksumMismatch: typeofBatchChecksumMismatch;BatchLengthOverflow: typeofBatchLengthOverflow;BatchLengthTruncated: typeofBatchLengthTruncated;BatchLengthUnterminated: typeofBatchLengthUnterminated;BatchMissingCompressionByte: typeofBatchMissingCompressionByte;BatchPacketTruncated: typeofBatchPacketTruncated;BiomeChunkGenerationDataUnsupported: typeofBiomeChunkGenerationDataUnsupported;BlockPaletteMismatch: typeofBlockPaletteMismatch;ContextCodecMismatch: typeofContextCodecMismatch;DataItemPayloadMismatch: typeofDataItemPayloadMismatch;DuplicateCodecVersion: typeofDuplicateCodecVersion;DuplicatePacketId: typeofDuplicatePacketId;EmptyBatchPacket: typeofEmptyBatchPacket;EmptyCodecRegistry: typeofEmptyCodecRegistry;EncryptedBatchTooShort: typeofEncryptedBatchTooShort;FragmentCountMismatch: typeofFragmentCountMismatch;FragmentWithoutCompression: typeofFragmentWithoutCompression;FragmentWithoutZlib: typeofFragmentWithoutZlib;HandshakePacketHasNoId: typeofHandshakePacketHasNoId;HeightmapRowWrongLength: typeofHeightmapRowWrongLength;HeightmapWrongRowCount: typeofHeightmapWrongRowCount;InvalidChunkCoordinates: typeofInvalidChunkCoordinates;InvalidEncryptionKey: typeofInvalidEncryptionKey;ItemDataCodecMismatch: typeofItemDataCodecMismatch;LevelSettingsNotDecodable: typeofLevelSettingsNotDecodable;MissingActorIdentifiers: typeofMissingActorIdentifiers;MissingBiomeDefinitions: typeofMissingBiomeDefinitions;MissingCommandSubcommandTable: typeofMissingCommandSubcommandTable;MissingConstraintEnum: typeofMissingConstraintEnum;MissingEnumValue: typeofMissingEnumValue;MissingItemData: typeofMissingItemData;MissingJigsawStructureData: typeofMissingJigsawStructureData;MissingParameterEnum: typeofMissingParameterEnum;MissingParameterPostfix: typeofMissingParameterPostfix;MissingParameterSoftEnum: typeofMissingParameterSoftEnum;MissingParameterSubcommandTable: typeofMissingParameterSubcommandTable;MissingSubcommandValue: typeofMissingSubcommandValue;MissingTransactionBody: typeofMissingTransactionBody;NoReadBuffer: typeofNoReadBuffer;NoReleaseCodec: typeofNoReleaseCodec;NotBatch: typeofNotBatch;NotNbtTag: typeofNotNbtTag;PacketHasNoData: typeofPacketHasNoData;PacketHasNoDefaultNetworkId: typeofPacketHasNoDefaultNetworkId;PacketIdMismatch: typeofPacketIdMismatch;PayloadNotDecodable: typeofPayloadNotDecodable;SeveralPreviewCodecs: typeofSeveralPreviewCodecs;SnappyBlockTooLarge: typeofSnappyBlockTooLarge;SnappyCopyOutOfRange: typeofSnappyCopyOutOfRange;SnappyLengthMismatch: typeofSnappyLengthMismatch;SnappyLengthOverflow: typeofSnappyLengthOverflow;SnappyLengthPrefixUnterminated: typeofSnappyLengthPrefixUnterminated;SnappyLiteralOutOfRange: typeofSnappyLiteralOutOfRange;SnappyTruncatedFourByteCopy: typeofSnappyTruncatedFourByteCopy;SnappyTruncatedLengthPrefix: typeofSnappyTruncatedLengthPrefix;SnappyTruncatedLiteralLength: typeofSnappyTruncatedLiteralLength;SnappyTruncatedOneByteCopy: typeofSnappyTruncatedOneByteCopy;SnappyTruncatedTwoByteCopy: typeofSnappyTruncatedTwoByteCopy;StalePreviewCodec: typeofStalePreviewCodec;StringAttributeUnsupported: typeofStringAttributeUnsupported;UnknownAttributePayloadAlternative: typeofUnknownAttributePayloadAlternative;UnknownAttributeValueAlternative: typeofUnknownAttributeValueAlternative;UnknownDataItemPayload: typeofUnknownDataItemPayload;UnknownDataStoreValueType: typeofUnknownDataStoreValueType;UnknownEasingFunctionId: typeofUnknownEasingFunctionId;UnknownEnumName: typeofUnknownEnumName;UnknownEnumValue: typeofUnknownEnumValue;UnknownItemUserDataMarker: typeofUnknownItemUserDataMarker;UnknownItemUserDataVersion: typeofUnknownItemUserDataVersion;UnknownParameterType: typeofUnknownParameterType;UnknownPrimitiveShapeExtraDataAlternative: typeofUnknownPrimitiveShapeExtraDataAlternative;UnsupportedCompressionAlgorithm: typeofUnsupportedCompressionAlgorithm; }>
Defined in: packages/errors/src/protocol/codec.ts:2812
The errors the codec code of @jsprismarine/protocol throws.