| JSON-RPC-Common documentation | view source | Contained in the JSON-RPC-Common distribution. |
JSON::RPC::Common::Procedure::Return::Version_1_1::Error - JSON-RPC 1.1 error class.
version 0.10
my $return_with_error = $call->return_error("foo");
This class implements 1.1 error objects.
code and message are mandatory.
The data field is named error in the deflated version and name is set
to JSONRPCError. How exciting.
Yuval Kogman <nothingmuch@woobling.org>
This software is copyright (c) 2011 by Yuval Kogman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| JSON-RPC-Common documentation | view source | Contained in the JSON-RPC-Common distribution. |