logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

JSON::RPC::Common::Procedure::Return::Version_1_1::Error - JSON-RPC 1.1 error class.

Author

       Yuval Kogman <nothingmuch@woobling.org>

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

See Also