class Dynamoid::Errors::StaleObjectError

Attributes

attempted_action[R]
record[R]

Public Class Methods

new(record, attempted_action) click to toggle source
# File lib/dynamoid/errors.rb, line 48
def initialize(record, attempted_action)
  super("Attempted to #{attempted_action} a stale object #{record}")
  @record = record
  @attempted_action = attempted_action
end