Jesse Luehrs > JSON-RPC-Common > JSON::RPC::Common::Procedure::Return::Version_1_0::Error

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

Dependencies

Annotate this POD

CPAN RT

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

NAME ^

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

VERSION ^

version 0.10

SYNOPSIS ^

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

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

AUTHOR ^

Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Yuval Kogman.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: