|
|
Error codes for user callbacks. These are a subset of XrlError
inline const XrlCmdError OKAY ()
| OKAY |
[static]
The default return value. Indicates that the arguments to the XRL method were correct. Inability to perform operation should still return OKAY(), but the return list should indicate the error.
inline const XrlCmdError BAD_ARGS (const string& reason = "")
| BAD_ARGS |
[static]
Return value when the method arguments are incorrect.
inline const XrlCmdError COMMAND_FAILED (const string& reason = "")
| COMMAND_FAILED |
[static]
Return value when the method could not be execute.
operator XrlError ()
| XrlError |
[const]
Convert to XrlError (needed for XRL protocol families).
inline string str ()
| str |
[const]
Returns: string containing representation of command error.
inline XrlErrorCode error_code ()
| error_code |
[const]
Returns: the unique identifer number associated with error.
inline string note ()
| note |
[const]
Returns: note associated with origin of error (i.e., the reason).
Generated by: pavlin on possum.icir.org on Mon Jun 9 13:23:50 2003, using kdoc 2.0a54+XORP. |