Sha256: 16cd1196c188491254fcfa23d6e2b4861a25409376f4bde2a258f2e3b22909be

Contents?: true

Size: 427 Bytes

Versions: 12

Compression:

Stored size: 427 Bytes

Contents

module HTTP
  # Generic error
  class Error < StandardError; 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

12 entries across 12 versions & 1 rubygems

Version Path
http-0.9.9 lib/http/errors.rb
http-1.0.0.pre1 lib/http/errors.rb
http-0.9.8 lib/http/errors.rb
http-0.9.7 lib/http/errors.rb
http-0.9.6 lib/http/errors.rb
http-0.9.5 lib/http/errors.rb
http-0.9.4 lib/http/errors.rb
http-0.9.3 lib/http/errors.rb
http-0.9.2 lib/http/errors.rb
http-0.9.1 lib/http/errors.rb
http-0.9.0 lib/http/errors.rb
http-0.9.0.pre lib/http/errors.rb