rackspace/ruby-cloudfiles — pull request #78 by jpr5 (2012-06-12 20:22:20+00:00)
Title: Consolidated exceptions into a module mixin and derived them all from a common root.

- deriving all exceptions from common CloudFiles::Exceptions::Error makes it possible for library consumers to "catch all CloudFiles exceptions" with one rescue
- ClientException merged into CloudFiles::Exceptions namespace for consistency
- old Exception declarations (non-namespaced) were removed
- duplicate Exception declarations were nuked (client.rb vs. exceptions.rb)
- CloudFiles::Exceptions made a module / mixin

Tests updated and pass.

Also includes a simple commit that moves the system gem requires ahead of the namespace declaration (otherwise, has no effect and is a confusing/uncommon idiom).