Exception: AWS::Record::EmptyRecordError
- Inherits:
-
StandardError
- Object
- StandardError
- AWS::Record::EmptyRecordError
- Defined in:
- lib/aws/record/exceptions.rb
Overview
Raised when trying to persist a record that has no attribute values to persist.
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(record) ⇒ EmptyRecordError
constructor
A new instance of EmptyRecordError.
Constructor Details
#initialize(record) ⇒ EmptyRecordError
Returns a new instance of EmptyRecordError.
40 41 42 43 |
# File 'lib/aws/record/exceptions.rb', line 40 def initialize record @record = record super('unable persist empty records') end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
44 45 46 |
# File 'lib/aws/record/exceptions.rb', line 44 def record @record end |