NAME

Amazon::SimpleDB::ErrorResponse - a class representing an error response from the SimpleDB service.

DESCRIPTION

This is code is in the early stages of development. Do not consider it stable. Feedback and patches welcome.

This is a subclass Amazon::SimpleDB::Response. See its manpage for more.

METHODS

Amazon::SimpleDB::ErrorResponse->new($args)

Constructor. It is recommended that you use Amazon::SimpleDB::Response-new($http_response)> instead of calling this directly. It will determine if request ended in an error from SimpleDB and will construct an object out of this class.

$res->code

Returns the SimpleDB error code (a string). See the SimpleDB documentation for a list of all error codes.

$res->message

Returns a human-readable message describing the error.

SEE ALSO

Amazon::SimpleDB::Response

AUTHOR & COPYRIGHT

Please see the Amazon::SimpleDB manpage for author, copyright, and license information.