HashNuke/mailgun — pull request #27 by andresbravog (2013-11-14 16:36:42+00:00)
Title: Changed Errors to match mailgun api error types

Changed errors to return understandable Mailgun api errors in order to be able to catch specific errors and handle it in your app.

New error classes are:

```Ruby
Mailgun::NotFound
Mailgun::BadRequest
Mailgun::Unauthorized
Mailgun::ResquestFailed
Mailgun::ServerError
Mailgun::ErrorBase
```