adcloud/api-client-ruby — pull request #7 by rosscdh (2013-06-07 13:44:20+00:00)
Title: 1. Added to_s to adcloudapi exception so that we can just output ex and ...

1. Added to_s to adcloudapi exception so that we can just output ex and not ex.message (seems to be what everyone is doing and will help with debugging)

2. Added better exception handling.. in the else case the api was simply returning a standard error with the response.status.. which is pretty useless in some cases (ssl,timeouts,etc) so now it throws ab UnknownError that acts in the standard adcloud manner