Exception: CanCanDry::AbilityMapping::PathMappingNotFound

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/can_can_dry/ability_mapping/path_mapping_not_found.rb

Instance Method Summary collapse

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