lib/usher/exceptions.rb in usher-0.7.5 vs lib/usher/exceptions.rb in usher-0.8.0
- old
+ new
@@ -5,6 +5,8 @@
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
+ # Raised when a route is added with two regex validators
+ class DoubleRegexpException < RuntimeError; end
end
\ No newline at end of file