Public Member Functions |
|
| operator XrlError () const |
| | Convert to XrlError (needed for XRL protocol families).
|
| string | str () const |
| XrlErrorCode | error_code () const |
|
bool | isOK () const |
| const string & | note () const |
Static Public Member Functions |
| static const XrlCmdError & | OKAY () |
| | The default return value.
|
|
static const XrlCmdError | BAD_ARGS (const string &reason="") |
| | Return value when the method arguments are incorrect.
|
|
static const XrlCmdError | COMMAND_FAILED (const string &reason="") |
| | Return value when the method could not be execute.
|
Private Member Functions |
|
| XrlCmdError (const XrlError &xe) |
Private Attributes |
|
XrlError | _xrl_error |
Static Private Attributes |
|
static XrlCmdError | _xce_ok |
Error codes for user callbacks.
These are a subset of XrlError TODO: Passing these on the stack wastes resources, and comparing them with generated values != XrlCmdError::OKAY(), for instance, is not good for performance or code size either.