JSON::RPC::Common::Procedure::Return::Version_1_1::Error - JSON-RPC 1.1 error class.
Contents
Copyright And License
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.
perl v5.30.3 2020-06-23 JSON::RPC::Comm...sion_1_1::Error(3pm)
Description
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.
See JSON::RPC::Common::Procedure::Return::Error.
Name
JSON::RPC::Common::Procedure::Return::Version_1_1::Error - JSON-RPC 1.1 error class.
Synopsis
my $return_with_error = $call->return_error("foo");
Version
version 0.11
