Exception: Hemp::Routing::RouteSyntaxError
- Defined in:
- lib/hemp/routing/route_syntax_error.rb
Instance Method Summary collapse
-
#initialize(method_path, custom_message = "") ⇒ RouteSyntaxError
constructor
A new instance of RouteSyntaxError.
Constructor Details
#initialize(method_path, custom_message = "") ⇒ RouteSyntaxError
Returns a new instance of RouteSyntaxError.
4 5 6 7 |
# File 'lib/hemp/routing/route_syntax_error.rb', line 4 def initialize(method_path, = "") super "Error while parsing routes. "\ "See line containing - '#{method_path}'. #{}" end |