Sha256: b21829f1ee8ba7b1b64562667cc2af6c43e5ea589af269483168716aeccf8d90

Contents?: true

Size: 494 Bytes

Versions: 13

Compression:

Stored size: 494 Bytes

Contents

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

13 entries across 13 versions & 1 rubygems

Version Path
http-2.0.1 lib/http/errors.rb
http-2.0.0 lib/http/errors.rb
http-2.0.0.pre lib/http/errors.rb
http-1.0.4 lib/http/errors.rb
http-1.0.3 lib/http/errors.rb
http-1.0.2 lib/http/errors.rb
http-1.0.1 lib/http/errors.rb
http-1.0.0 lib/http/errors.rb
http-1.0.0.pre6 lib/http/errors.rb
http-1.0.0.pre5 lib/http/errors.rb
http-1.0.0.pre4 lib/http/errors.rb
http-1.0.0.pre3 lib/http/errors.rb
http-1.0.0.pre2 lib/http/errors.rb