יובל קוג'מן (Yuval Kogman) > JSON-RPC-Common-0.08 > JSON::RPC::Common::Procedure::Return::Version_1_1::Error

Download:
JSON-RPC-Common-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: JSON-RPC-Common-0.11

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");

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.

syntax highlighting: