struct XrlCmdError

Error codes for user callbacks. More...

Definition#include <xrl_error.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

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 string  note ()

note

[const]

Returns: note associated with origin of error (i.e., the reason).


Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:49 2003, using kdoc 2.0a54+XORP.