Sha256: 2c6e43da07b50e86ff1e51e08c2a42b3d821e99277933450538faf48a1602112

Contents?: true

Size: 386 Bytes

Versions: 30

Compression:

Stored size: 386 Bytes

Contents

class ReeErrors::InvalidParamError
  include Ree::FnDSL

  fn :invalid_param_error do
    target :class
    with_caller
    link :build_error
    link 'ree_errors/error', -> { Error }
  end

  contract Symbol, Nilor[String], Kwargs[msg: Nilor[String]] => SubclassOf[Error]
  def call(code, locale = nil, msg: nil)
    build_error(get_caller, :invalid_param, code,locale, msg)
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
ree_lib-1.0.124 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.123 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.122 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.121 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.120 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.119 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.118 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.117 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.116 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.115 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.114 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.113 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.112 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.111 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.110 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.109 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.108 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.107 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.106 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb
ree_lib-1.0.105 lib/ree_lib/packages/ree_errors/package/ree_errors/invalid_param_error.rb