lib/usher/exceptions.rb in usher-0.7.1 vs lib/usher/exceptions.rb in usher-0.7.2
- old
+ new
@@ -1,6 +1,10 @@
class Usher
+ # Exception raised when generation is attempted and the route cannot be determined
class UnrecognizedException < RuntimeError; end
+ # Raised when a validator fails during recognition
class ValidationException < RuntimeError; end
+ # Raised when generation attempts to create a route and a parameter is missing
class MissingParameterException < RuntimeError; end
+ # Raised when a route is added with identical variable names and allow_identical_variable_names? is false
class MultipleParameterException < RuntimeError; end
end
\ No newline at end of file