uber-ruby
uber-ruby copied to clipboard
Handle errors
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?