JSON::RPC::Common::Procedure::Return::Error man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

JSON::RPC::Common::ProUserrContrJSON::RPC::Common::Procedure::Return::Error(3)

NAME
       JSON::RPC::Common::Procedure::Return::Error - Base class for JSON-RPC
       errors

SYNOPSIS
	       use 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;

DESCRIPTION
       This is a base class for all version specific error implementations.

ATTRIBUTES
       code
       message
       data
	   These are the three common JSON-RPC error fields. In JSON-RPC 1.1
	   "data" is known as "error", and in 1.0 none of this is specced at
	   all.

	   See the version specific subclasses for various behaviors.

	   Code is an integer, and message is a string.

METHODS
       new_dwim
	   Convenience constructor used by "return_error" in
	   JSON::RPC::Common::Procedure::Call.

	   Will return an object if that's the argument, and otherwise
	   construct an error.

       inflate
	   Create an error object from JSON data (not text).

	   In order to maximize compatibility this inflation routine is very
	   liberal in what it accepts.

perl v5.14.1			JSON::RPC::Common::Procedure::Return::Error(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net