Exception: EasyCrumbs::NoPath

Inherits:
StandardError
  • Object
show all
Defined in:
lib/easycrumbs/errors.rb

Instance Method Summary collapse

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

#messageObject



13
14
15
# File 'lib/easycrumbs/errors.rb', line 13

def message
  "Can not set path. You can use :blank_links to return nil for no-recognized pathes. RoutingError: #{@routing_error}"
end