lib/qa.rb in qa-3.1.0 vs lib/qa.rb in qa-4.0.0.rc1

- old
+ new

@@ -40,14 +40,22 @@ class UnsupportedFormat < ArgumentError; end # Raised when a configuration parameter is incorrect or is required and missing class InvalidConfiguration < ArgumentError; end + # Raised when a request is made for an unsupported action (e.g. :search, :term are supported) + class UnsupportedAction < ArgumentError; end + # Raised when a linked data request to a server returns a 503 error class ServiceUnavailable < ArgumentError; end # Raised when a linked data request to a server returns a 500 error class ServiceError < ArgumentError; end # Raised when the server returns 404 for a find term request class TermNotFound < ArgumentError; end + + # Raised when a required mapping parameter is missing while building an IRI Template + module IriTemplate + class MissingParameter < StandardError; end + end end