lib/error: Add NOT_ALLOWED

Soda
BodgeMaster 2022-10-14 17:31:12 +02:00
parent 53279c6905
commit ccce564219
1 changed files with 4 additions and 0 deletions

View File

@ -91,6 +91,10 @@ namespace ErrorCodes {
const uint8_t FILE_NOT_OPEN = 9; const uint8_t FILE_NOT_OPEN = 9;
const uint8_t FILE_NOT_FOUND = 10; const uint8_t FILE_NOT_FOUND = 10;
// when performing an operation that would technically be valid but must
// never be performed (like deleting an end tag from an NBT compound)
const uint8_t NOT_ALLOWED = 11;
const uint8_t UNIMPLEMENTED = 254; const uint8_t UNIMPLEMENTED = 254;
const uint8_t UNKNOWN = 255; const uint8_t UNKNOWN = 255;