Exception: EasyCrumbs::NoPath
- Inherits:
-
StandardError
- Object
- StandardError
- EasyCrumbs::NoPath
- Defined in:
- lib/easycrumbs/errors.rb
Instance Method Summary collapse
-
#initialize(routing_error) ⇒ NoPath
constructor
A new instance of NoPath.
- #message ⇒ Object
Constructor Details
#initialize(routing_error) ⇒ NoPath
Returns a new instance of NoPath.
9 10 11 |
# File 'lib/easycrumbs/errors.rb', line 9 def initialize(routing_error) @routing_error = routing_error end |
Instance Method Details
#message ⇒ Object
13 14 15 |
# File 'lib/easycrumbs/errors.rb', line 13 def "Can not set path. You can use :blank_links to return nil for no-recognized pathes. RoutingError: #{@routing_error}" end |