figo-connect / ruby-figo

Ruby binding for the figo Connect API.
http://figo.io
8 stars 15 forks source link

Clearer errors #7

Open mduqueoviedo opened 9 years ago

mduqueoviedo commented 9 years ago

In the lib, the HttpUnauthorized error is mapped as raise Error.new("unauthorized", "Missing, invalid or expired access token.")

However I have received this error in two cases when the situation is different:

In both cases I think the problem has nothing to do with the token and the error is a bit misleading.

homeworkprod commented 8 years ago

That's my experience as well.