Sha256: 4de990ec45f75c056dda6c5955e550cc525525f4cf0e7438a529f05c1b3b3c41

Contents?: true

Size: 246 Bytes

Versions: 4

Compression:

Stored size: 246 Bytes

Contents

module Slack
  module Web
    module Api
      class Error < ::Faraday::Error
        attr_reader :response

        def initialize(message, response)
          @response = response
          super message
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-0.5.3 lib/slack/web/api/error.rb
slack-ruby-client-0.5.2 lib/slack/web/api/error.rb
slack-ruby-client-0.5.1 lib/slack/web/api/error.rb
slack-ruby-client-0.5.0 lib/slack/web/api/error.rb