lib/slack/web/api/error.rb in slack-ruby-client-0.8.1 vs lib/slack/web/api/error.rb in slack-ruby-client-0.9.0
- old
+ new
@@ -1,14 +1,7 @@
module Slack
module Web
module Api
- class Error < ::Faraday::Error
- attr_reader :response
-
- def initialize(message, response = nil)
- @response = response
- super message
- end
- end
+ Error = Errors::SlackError
end
end
end