Sha256: 774cf695e07c2361a197f9a53428f39938b77b3c60d1f6a3fa00881b423fad68

Contents?: true

Size: 658 Bytes

Versions: 4

Compression:

Stored size: 658 Bytes

Contents

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
  # Raised when a route is added with two regex validators
  class DoubleRegexpException < RuntimeError; end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
usher-0.8.3 lib/usher/exceptions.rb
usher-0.8.2 lib/usher/exceptions.rb
usher-0.8.1 lib/usher/exceptions.rb
usher-0.8.0 lib/usher/exceptions.rb