Exception: CloudParty::Errors::InputError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/cloud_party/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, obj, input) ⇒ InputError

Returns a new instance of InputError.

Parameters:

  • message (String)

    message

  • obj (Object)

    object

  • input (String)

    input string



39
40
41
42
43
# File 'lib/cloud_party/exception.rb', line 39

def initialize(message, obj, input)
  super(message)
  @obj = obj
  @input = input
end

Instance Attribute Details

#inputObject (readonly)

Returns the value of attribute input.



35
36
37
# File 'lib/cloud_party/exception.rb', line 35

def input
  @input
end

#objObject (readonly)

Returns the value of attribute obj.



35
36
37
# File 'lib/cloud_party/exception.rb', line 35

def obj
  @obj
end