libxrdeveloper's documentation
void xr_call_set_error ( xr_call call,
int  code,
const char *  msg,
  ... 
)

Set retval to be stadard XML-RPC error structure.

If error is set and retval is set too, error gets preference on serialize response.

Parameters:
callCall obejct.
codeError code.
msgError message.
Documentation for libxr, Tue Jun 7 2011 17:44:21.