uber-ruby icon indicating copy to clipboard operation
uber-ruby copied to clipboard

Handle errors

Open AnkurGel opened this issue 8 years ago • 0 comments

Do not merge this yet @sishen : I'm using raise_error middleware of Faraday and passing the message to Uber::Error.from_error which raises exception based on status code. Though, this is not a good solution for Request errors, since it was being handled by RequestError earlier. Should I re-use this for Request and continue to use Uber::Error for others? Suggestions?

AnkurGel avatar Sep 04 '16 18:09 AnkurGel