Making mandrill throw exceptions on errors