Exception: K2IncorrectParams

Inherits:
K2ValidateErrors show all
Defined in:
lib/k2-connect-ruby/k2_errors.rb

Overview

Error for Incorrect Hash Key Symbols (K2Entity validate => input)

Instance Attribute Summary

Attributes inherited from K2ValidateErrors

#the_keys

Attributes inherited from K2Errors

#message, #status

Instance Method Summary collapse

Methods inherited from K2ValidateErrors

#loop_keys, #message

Constructor Details

#initialize(the_keys) ⇒ K2IncorrectParams

Returns a new instance of K2IncorrectParams.



73
74
75
76
# File 'lib/k2-connect-ruby/k2_errors.rb', line 73

def initialize(the_keys)
  @message = "Incorrect Hash/Parameters Object!\n The Following Parameter(s) are Incorrect: "
  super
end