Error code Decoder

What does the error value 5647 mean?

Thanks to the developers of PRC-Tools, you don't need to decode raw error codes yourself. They have made an error code decoding tool: you simply put in the error value, and it decodes it for you. Highly recommended.

However, if you must know:

Error values are two byte values. The most significant byte tells you what class the error came from. The least significant byte tells you the specific error in that class. Here's the procedure, with the specific info for translating 5647 in parens:

 

  1. Convert the error value to hex. (5647 -> 0x160F)
  2. Look for the corresponding class entry in ErrorBase.h. (0x1600 is fileErrorClass)
  3. Find the header file which uses that error class. (FileStream.h)
  4. Convert the least significant byte back to decimal. (0x0F -> 15)
  5. Look for the error in the error list of the file you found in step 3. (#define fileErrIOError (fileErrorClass | 15))

Today: Sep 8, 2010