You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it inherits from Faraday::Error. The problem with this is that this doesn't have access to the response that caused the error. If this was [Faraday::ClientError](https://github.com/lostisland/faraday/blob/master/lib/faraday/error.rb#L5) instead, you can catch and access the response object.
The text was updated successfully, but these errors were encountered:
technicalpickles
changed the title
Inheritet Slack::Web::Api::Error from Faraday::ClientError
Inherit Slack::Web::Api::Error from Faraday::ClientError
Nov 10, 2015
Turned out a little too complicated to change the inheritance, ClientError tries to do too many smart things. Ended up exposing response as is, see dblock@636f6c1.
Currently, it inherits from Faraday::Error. The problem with this is that this doesn't have access to the response that caused the error. If this was
[Faraday::ClientError](https://github.com/lostisland/faraday/blob/master/lib/faraday/error.rb#L5)
instead, you can catch and access the response object.The text was updated successfully, but these errors were encountered: