Exception: Kalimba::AttributeAssignmentError

Inherits:
KalimbaError
  • Object
show all
Defined in:
lib/kalimba/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, exception, attribute) ⇒ AttributeAssignmentError

Returns a new instance of AttributeAssignmentError.



6
7
8
9
10
# File 'lib/kalimba/exceptions.rb', line 6

def initialize(message, exception, attribute)
  @exception = exception
  @attribute = attribute
  @message = message
end

Instance Attribute Details

#attributeObject (readonly)

Returns the value of attribute attribute.



5
6
7
# File 'lib/kalimba/exceptions.rb', line 5

def attribute
  @attribute
end

#exceptionObject (readonly)

Returns the value of attribute exception.



5
6
7
# File 'lib/kalimba/exceptions.rb', line 5

def exception
  @exception
end