Sha256: 592d62355bef6b860c916028d2c2416e54555749664bf2c7bb049550fbfd079e

Contents?: true

Size: 568 Bytes

Versions: 26

Compression:

Stored size: 568 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 value is of unexpected format (similar to Net::HTTPHeaderSyntaxError)
  class HeaderError < Error; end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
http-5.0.4 lib/http/errors.rb
http-5.0.3 lib/http/errors.rb
http-5.0.2 lib/http/errors.rb
http-5.0.1 lib/http/errors.rb
http-5.0.0 lib/http/errors.rb
http-4.4.1 lib/http/errors.rb
http-4.4.0 lib/http/errors.rb
http-5.0.0.pre3 lib/http/errors.rb
http-5.0.0.pre2 lib/http/errors.rb
http-4.3.0 lib/http/errors.rb
http-4.2.0 lib/http/errors.rb
http-4.1.1 lib/http/errors.rb
http-4.1.0 lib/http/errors.rb
http-4.0.5 lib/http/errors.rb
http-4.0.4 lib/http/errors.rb
http-5.0.0.pre lib/http/errors.rb
http-4.0.3 lib/http/errors.rb
http-4.0.2 lib/http/errors.rb
http-4.0.1 lib/http/errors.rb
http-4.0.0 lib/http/errors.rb