Sha256: c5a6844c03973d6d2e9d56410afdbfeee487f34143f4c49f2b7d29a7024c83e7

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true
module HTTP
  # Generic error
  class Error < StandardError; end

  # Generic Connection error
  class ConnectionError < Error; end

  # Generic Request error
  class RequestError < Error; end

  # Generic Response error
  class ResponseError < Error; end

  # Requested to do something when we're in the wrong state
  class StateError < ResponseError; end

  # Generic Timeout error
  class TimeoutError < Error; end

  # Header name is invalid
  class InvalidHeaderNameError < Error; end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
http-2.2.2 lib/http/errors.rb
http-2.2.1 lib/http/errors.rb
http-2.2.0 lib/http/errors.rb
http-2.1.0 lib/http/errors.rb
http-2.0.3 lib/http/errors.rb
http-2.0.2 lib/http/errors.rb