lib/error: Clean up comments
parent
f8dd10d301
commit
53279c6905
|
@ -70,13 +70,10 @@ namespace ErrorCodes {
|
||||||
// Ahh yes, very useful.
|
// Ahh yes, very useful.
|
||||||
const uint8_t SUCCESS = 0;
|
const uint8_t SUCCESS = 0;
|
||||||
|
|
||||||
// IndexOutOfRangeException equivalent
|
|
||||||
const uint8_t OUT_OF_RANGE = 1;
|
const uint8_t OUT_OF_RANGE = 1;
|
||||||
|
// like OUT_OF_RANGE but when going out of bounds in a non-predetermined way
|
||||||
// when going out of bounds in a non-predetermined way
|
|
||||||
const uint8_t OVERRUN = 2;
|
const uint8_t OVERRUN = 2;
|
||||||
|
|
||||||
// when checking for presence of something, for example CLI arguments
|
|
||||||
const uint8_t NOT_PRESENT = 3;
|
const uint8_t NOT_PRESENT = 3;
|
||||||
|
|
||||||
const uint8_t WRONG_USAGE = 4;
|
const uint8_t WRONG_USAGE = 4;
|
||||||
|
|
Loading…
Reference in New Issue