Release Name: 0.4.3
Notes:
$AMAZONRCDIR is now searched for .amazonrc before $HOME and the other directories. This allows a user-defined location to be used for the user configuration file.
There is a new top-level class of exception for Ruby/AWS, Amazon::AmazonError.
Most non-operational exceptions, such as Amazon::AWS::HTTPError, Amazon::Config::ConfigError, Amazon::AWS::Search::Request::AccessKeyIdError, Amazon::AWS::Search::Request::LocaleError and Amazon::AWS::ShoppingCart::CartError are now immediate subclasses of AmazonError. Previously, they were subclasses of StandardError.
Amazon::AWS::Error::AWSError was previously a class that generated exceptions, but it's now simply a container class derived from AmazonError. All operational exceptions -- the ones whose class is dynamically created when AWS returns an error -- are now subclasses of AWSError. Previously, they were immediate subclasses of StandardError.
This has the advantage of allowing all of the exceptions resulting from operational errors to be caught by rescuing just the container class, AWSError.
Changes:
|