Skip to content

API reference / @jsprismarine/errors / nbt

nbt ​

Variables ​

NbtErrors ​

const NbtErrors: Readonly<{ AllocationLimitReached: typeof AllocationLimitReached; CompoundNameMismatch: typeof CompoundNameMismatch; ExpectedByte: typeof ExpectedByte; ExpectedByteArray: typeof ExpectedByteArray; ExpectedByteList: typeof ExpectedByteList; ExpectedCompoundTagId: typeof ExpectedCompoundTagId; ExpectedDouble: typeof ExpectedDouble; ExpectedDoubleList: typeof ExpectedDoubleList; ExpectedFloatList: typeof ExpectedFloatList; ExpectedInt: typeof ExpectedInt; ExpectedIntArray: typeof ExpectedIntArray; ExpectedIntList: typeof ExpectedIntList; ExpectedListHeader: typeof ExpectedListHeader; ExpectedLong: typeof ExpectedLong; ExpectedLongList: typeof ExpectedLongList; ExpectedNestedTagId: typeof ExpectedNestedTagId; ExpectedShort: typeof ExpectedShort; ExpectedShortList: typeof ExpectedShortList; ExpectedString: typeof ExpectedString; ExpectedStringLength: typeof ExpectedStringLength; ExpectedTagHeader: typeof ExpectedTagHeader; NbtPathExpectedList: typeof NbtPathExpectedList; NbtPathExpectedObject: typeof NbtPathExpectedObject; NbtPathInvalidIndex: typeof NbtPathInvalidIndex; NbtPathMultiple: typeof NbtPathMultiple; NbtPathNothingFound: typeof NbtPathNothingFound; NbtPathNotNumeric: typeof NbtPathNotNumeric; NbtPathSyntax: typeof NbtPathSyntax; NbtPathTooDeep: typeof NbtPathTooDeep; NegativeByteArrayLength: typeof NegativeByteArrayLength; NegativeIntArrayLength: typeof NegativeIntArrayLength; NegativeListLength: typeof NegativeListLength; NoRootTag: typeof NoRootTag; NotListTag: typeof NotListTag; SnbtSyntax: typeof SnbtSyntax; UnknownListType: typeof UnknownListType; UnknownTag: typeof UnknownTag; UnknownValueType: typeof UnknownValueType; }>

Defined in: packages/errors/src/nbt.ts:1159

The errors @jsprismarine/nbt throws.