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_0::Error - JSON-RPC 1.0 error class.

Author

       Yuval Kogman <nothingmuch@woobling.org>

Description

       JSON-RPC 1.0 doesn't actually specify what the hell goes in the error field, so in order to make 1.0+2.0
       server implementations easy this class is provided as a compatibility layer.

       Inflating a string instantiates an error with an unset code and the string as the message.

       See JSON::RPC::Common::Procedure::Return::Error

Name

       JSON::RPC::Common::Procedure::Return::Version_1_0::Error - JSON-RPC 1.0 error class.

Synopsis

               my $return_with_error = $call->return_error("foo");

Version

       version 0.11

See Also