Exception: CanCanDry::AbilityMapping::PathMappingNotFound
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- CanCanDry::AbilityMapping::PathMappingNotFound
- Defined in:
- lib/can_can_dry/ability_mapping/path_mapping_not_found.rb
Instance Method Summary collapse
-
#initialize(path, method, error) ⇒ PathMappingNotFound
constructor
A new instance of PathMappingNotFound.
Constructor Details
#initialize(path, method, error) ⇒ PathMappingNotFound
Returns a new instance of PathMappingNotFound.
6 7 8 |
# File 'lib/can_can_dry/ability_mapping/path_mapping_not_found.rb', line 6 def initialize(path, method, error) super("Falha ao tentar recuperar mapeamento \"#{path}\", método=#{method}: #{error}") end |