lib/genability/error.rb in genability-0.1.0 vs lib/genability/error.rb in genability-0.2.0
- old
+ new
@@ -15,7 +15,11 @@
class ServerError < Error; end
# Raised when Genability returns the HTTP status code 503
class ServiceUnavailable < Error; end
+ # Raised when the tariff input for the calculate method is
+ # not an array or hash
+ class InvalidTariffInput < Error; end
+
end