Containment Domains C++ API
0.1
Containment Domains C++ API v0.1
|
Type for specifying errors and failure. More...
#include <cd.h>
Public Attributes | |
SysErrNameT | error_name_ |
Name of error. | |
SysErrLocT | error_location_ |
Location of error. | |
SysErrInfo | error_info_ |
Error-specific extra information. | |
Type for specifying errors and failure.
This type represents the interface between the user and the system with respect to errors and failures. We considered doing an extensible class hierarchy like GVR, but ended up with predefined bitvector constants because of the pain involved in setting up and using deep class hierarchies. However, the bitmask way is dangerously narrow and may lead to less portable (and less future-proof code). Basically we chose C over C++ style here :-(
This needs more thought