JSON::RPC::Common::Procedure::Return::Version_1_0::Error(3pm)

JSON::RPC::Common::Procedure::Return::Version_1_0::Error3pm

Json-rpc 1.0 error class.

Usage

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

Version

version 0.11

Overview

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

Releases

Unchanged in 3 releases since Debian 11 (Bullseye).

  1. 11–13

Author

Yuval Kogman <[email protected]>

From libjson-rpc-common-perl 0.11-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.