twitter-status-bot/.gems/gems/http-0.6.2/lib/http/errors.rb

14 lines
292 B
Ruby
Raw Normal View History

2014-09-03 08:49:59 +00:00
module HTTP
# Generic error
class Error < StandardError; end
# Generic Request error
class RequestError < Error; end
# Generic Response error
class ResponseError < Error; end
# Request to do something when we're in the wrong state
class StateError < ResponseError; end
end