lib/calendarium-romanum/remote/errors.rb in calendarium-romanum-remote-0.1.0 vs lib/calendarium-romanum/remote/errors.rb in calendarium-romanum-remote-0.2.0

- old
+ new

@@ -2,14 +2,13 @@ module Remote # parent of the gem's error classes, # never itself instantiated class Error < ::RuntimeError; end - # server not found - class ServerNotFoundError < Error; end + # the server responded with a response which cannot be + # transformed to valid calendar data + class UnexpectedResponseError < Error; end - # server refuses submitted input - class BadRequestError < Error; end - - class TransportError < Error; end + # the server returned data which we don't understand + class InvalidDataError < Error; end end end