JSON::RPC::Common::Procedure::Return::Version_2_0::Error - JSON-RPC 2.0 error class.
version 0.11
my $return_with_error = $call->return_error("foo");
This class implements 2.0 error objects.
code and message are mandatory.
code
message
See JSON::RPC::Common::Procedure::Return::Error.
Yuval Kogman <nothingmuch@woobling.org>
This software is copyright (c) 2014 by Yuval Kogman and others.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install JSON::RPC::Common, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JSON::RPC::Common
CPAN shell
perl -MCPAN -e shell install JSON::RPC::Common
For more information on module installation, please visit the detailed CPAN module installation guide.