P6 Error Codes

P6R::P6ERR's are 32 bit unsigned values separated into "status", "facility" and "code",

 
 +---+-+-+-----------------------+-------------------------------+
 |S|           Facility          |               Code            |
 +---+-+-+-----------------------+-------------------------------+
  3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
 
SThe status bit.0 = Success, 1 = Error
FacilityThe facility code.Different modules define their own facility which segregates their error codes from everyone elses. Sort of a namespace for error codes.
Error CodeThe facility specific error code. 

0x00000000 is reserved to mean Success

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.