int vortex_xml_rpc_method_response_get_fault_code ( XmlRpcMethodResponse response  ) 

Get current fault code from the given XmlRpcMethodResponse object.

This function must only be used when the XmlRpcMethodResponse object status is not XML_RPC_OK.

Parameters:
response The method response object to get fault code from.
Returns:
The fault code or -1 if fail.