Browse Source

Corrected error code categories boundaries in the PixelHub Protocol

master
Starbeamrainbowlabs 4 years ago
parent
commit
41f55c3ef2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      PixelHub Protocol.md

+ 2
- 2
PixelHub Protocol.md View File

@ -205,5 +205,5 @@ Note that a status message isn't actually contained in this protocol. This is be
It's highly likely that an error will occur sooner or later. In the PixelHub protocol, all errors have their own number, where no number is ever thrown in the same place in the code base twice, allowing for errors to be reliably traced back ot their source without a usable stack trace. The following caregories of error have been assigned:
- 0 - A general error. Please try not to use this if at all possible.
- 1-10,000 - Server errors.
- 10,001-20,000 - PixelBot errors.
- 1-9,999 - Server errors.
- 10,00-19,999 - PixelBot errors.