function xmlrpc_server_error
7.x xmlrpcs.inc | xmlrpc_server_error($error, $message = FALSE) |
6.x xmlrpcs.inc | xmlrpc_server_error($error, $message = FALSE) |
Throw an XML-RPC error.
Parameters
$error: an error object OR integer error code
$message: description of error, used only if integer error code was passed
1 call to xmlrpc_server_error()
- xmlrpc_server in drupal-6.x/
includes/ xmlrpcs.inc - The main entry point for XML-RPC requests.
File
- drupal-6.x/
includes/ xmlrpcs.inc, line 102
Code
function xmlrpc_server_error($error, $message = FALSE) {
if ($message && !is_object($error)) {
$error = xmlrpc_error($error, $message);
}
xmlrpc_server_output(xmlrpc_error_get_xml($error));
}