Sha256: 6a0999593b1ef971482ab1dfa9bf21a43d91dad203ea2d23cc0e9cb152c8da47

Contents?: true

Size: 423 Bytes

Versions: 3

Compression:

Stored size: 423 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 Cache error
  class CacheError < Error; end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
http-0.8.0.pre3 lib/http/errors.rb
http-0.8.0.pre2 lib/http/errors.rb
http-0.8.0.pre lib/http/errors.rb