Class: ReeErrors::NotFoundError

Inherits:
Object
  • Object
show all
Includes:
Ree::FnDSL
Defined in:
lib/ree_lib/packages/ree_errors/package/ree_errors/not_found_error.rb

Instance Method Summary collapse

Instance Method Details

#call(code, locale = nil, msg: nil) ⇒ Object



12
13
14
# File 'lib/ree_lib/packages/ree_errors/package/ree_errors/not_found_error.rb', line 12

def call(code, locale = nil, msg: nil)
  build_error(get_caller, :not_found, code,locale, msg)
end