Exception: OceanDynamo::AttributeAssignmentError

Inherits:
DynamoError
  • Object
show all
Defined in:
lib/ocean-dynamo/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, exception, attribute) ⇒ AttributeAssignmentError

Returns a new instance of AttributeAssignmentError.



53
54
55
56
57
# File 'lib/ocean-dynamo/exceptions.rb', line 53

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

Instance Attribute Details

#attributeObject (readonly)

Returns the value of attribute attribute.



52
53
54
# File 'lib/ocean-dynamo/exceptions.rb', line 52

def attribute
  @attribute
end

#exceptionObject (readonly)

Returns the value of attribute exception.



52
53
54
# File 'lib/ocean-dynamo/exceptions.rb', line 52

def exception
  @exception
end