andresbravog/mailgun — pull request #3 by andresbravog (2013-11-14 16:40:43+00:00)
Title: Feature/better errors

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
```