The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SimpleDB::Class::Exception - Exceptions thrown by SimpleDB::Class.

VERSION

version 0.0100

DESCRIPTION

A submclass of Exception::Class that defines expcetions to be thrown through-out SimpleDB::Class ojbects.

EXCEPTIONS

The following exceptions are available from this class.

SimpleDB::Class::Exception

A general error.

SimpleDB::Class::Exception::OverrideMe

Used when creating abstract methods.

SimpleDB::Class::Exception::MethodNotFound

Thrown when a request object is not found.

id

The id of the requested object.

SimpleDB::Class::Exception::Connection

Thrown when exceptions occur connecting to the SimpleDB database at Amazon.

status_code

The HTTP status code returned.

SimpleDB::Class::Exception::Response

Isa SimpleDB::Class::Exception::Connection. Thrown when SimpleDB reports an error.

status_code

The HTTP status code returned from the request.

error_code

The error code returned from SimpleDB.

request_id

The request id as returned from SimpleDB.

box_usage

The storage usage in your SimpleDB.

response

The HTTP::Response object as retrieved from the SimpleDB request.

AUTHOR

JT Smith <jt_at_plainblack_com>

I have to give credit where credit is due: SimpleDB::Class is heavily inspired by DBIx::Class by Matt Trout (and others), and the Amazon::SimpleDB class distributed by Amazon itself (not to be confused with Amazon::SimpleDB written by Timothy Appnel).

LEGAL

SimpleDB::Class is Copyright 2009 Plain Black Corporation and is licensed under the same terms as Perl itself.