Class: ReeErrors::InvalidParamError

Inherits:
Object
  • Object
show all
Includes:
Ree::FnDSL
Defined in:
lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_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/invalid_param_error.rb', line 12

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