12.5. Error code

Note

The Mollom XML-RPC API interface has been deprecated, and is included here for archival purposes.

To develop clients and services that connect to Mollom, use the Mollom REST API.

If an XML-RPC error is received, this is encoded in the following form.


<fault>
 <value>
  <struct>
   <member>
    <name>faultCode</name>
    <value><int>1000</int></value>
   </member>
   <member>
    <name>faultString</name>
    <value><string>Invalid public key.</string></value>
   </member>
  </struct>
 </value>
</fault>