Sha256: 5a8ed1ae9d2ff5de65f3a88219e0fcc29959d5329d40386bf440ddb3cf0e65de
Contents?: true
Size: 839 Bytes
Versions: 7
Compression:
Stored size: 839 Bytes
Contents
# frozen_string_literal: true module Slack module Web module Api module Errors class ServerError < ::Faraday::Error attr_reader :response def initialize(message, response) @response = response super message end end class ParsingError < ServerError def initialize(response) super('parsing_error', response) end end class HttpRequestError < ServerError; end class TimeoutError < HttpRequestError def initialize(response) super('timeout_error', response) end end class UnavailableError < HttpRequestError def initialize(response) super('unavailable_error', response) end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems