RPC::Any::Exception - A throwable exception object for RPC::Any
use RPC::Any::Exception; die RPC::Any::Exception(code => 1234, message => "I'm dead!");
This object represents an exception that an RPC::Any::Server can throw. See "ERROR HANDLING" in RPC::Any::Server for information about how to use this in your own code.
There are various types of built-in errors that an RPC::Any::Server can throw. They have specific error codes that correlate with the error codes specified at http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php (which are valid for both JSON-RPC and XML-RPC).
What follows is a brief description of each type of error (which is a subclass of RPC::Any::Exception) and its numeric code:
Something called "die" with something that wasn't an RPC::Any::Exception. This is just a basic Perl error. The message will be the error that "die" threw.
There was a problem with the HTTP protocol on the input. The message will have more details.
There was an error parsing the input for the RPC protocol. The message will have more details.
The RPC request contained an invalid method. The message will have more details.