API reference / @jsprismarine/errors / nbt
nbt
Variables
NbtErrors
constNbtErrors:Readonly<{AllocationLimitReached: typeofAllocationLimitReached;CompoundNameMismatch: typeofCompoundNameMismatch;ExpectedByte: typeofExpectedByte;ExpectedByteArray: typeofExpectedByteArray;ExpectedByteList: typeofExpectedByteList;ExpectedCompoundTagId: typeofExpectedCompoundTagId;ExpectedDouble: typeofExpectedDouble;ExpectedDoubleList: typeofExpectedDoubleList;ExpectedFloatList: typeofExpectedFloatList;ExpectedInt: typeofExpectedInt;ExpectedIntArray: typeofExpectedIntArray;ExpectedIntList: typeofExpectedIntList;ExpectedListHeader: typeofExpectedListHeader;ExpectedLong: typeofExpectedLong;ExpectedLongList: typeofExpectedLongList;ExpectedNestedTagId: typeofExpectedNestedTagId;ExpectedShort: typeofExpectedShort;ExpectedShortList: typeofExpectedShortList;ExpectedString: typeofExpectedString;ExpectedStringLength: typeofExpectedStringLength;ExpectedTagHeader: typeofExpectedTagHeader;NbtPathExpectedList: typeofNbtPathExpectedList;NbtPathExpectedObject: typeofNbtPathExpectedObject;NbtPathInvalidIndex: typeofNbtPathInvalidIndex;NbtPathMultiple: typeofNbtPathMultiple;NbtPathNothingFound: typeofNbtPathNothingFound;NbtPathNotNumeric: typeofNbtPathNotNumeric;NbtPathSyntax: typeofNbtPathSyntax;NbtPathTooDeep: typeofNbtPathTooDeep;NegativeByteArrayLength: typeofNegativeByteArrayLength;NegativeIntArrayLength: typeofNegativeIntArrayLength;NegativeListLength: typeofNegativeListLength;NoRootTag: typeofNoRootTag;NotListTag: typeofNotListTag;SnbtSyntax: typeofSnbtSyntax;UnknownListType: typeofUnknownListType;UnknownTag: typeofUnknownTag;UnknownValueType: typeofUnknownValueType; }>
Defined in: packages/errors/src/nbt.ts:1159
The errors @jsprismarine/nbt throws.