![]() |
![]()
| ![]() |
![]()
NAMEJSON::RPC::Common::Procedure::Return::Error - Base class for JSON-RPC errors VERSIONversion 0.11 SYNOPSISuse JSON::RPC::Common::Procedure::Return::Error; my $error = JSON::RPC::Common::Procedure::Return::Error->new( message => "foo", code => "bah", ); # or construct a return with an error from a call: my $return = $call->return_error("foo"); $return->error->message; DESCRIPTIONThis is a base class for all version specific error implementations. ATTRIBUTESMETHODS
AUTHORYuval Kogman <nothingmuch@woobling.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2014 by Yuval Kogman and others. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|