Exception: Smith::PersistencePayloadConflict
- Defined in:
- lib/smith/persistence_payload_conflict.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key:) ⇒ PersistencePayloadConflict
constructor
A new instance of PersistencePayloadConflict.
Constructor Details
#initialize(key:) ⇒ PersistencePayloadConflict
Returns a new instance of PersistencePayloadConflict.
7 8 9 10 |
# File 'lib/smith/persistence_payload_conflict.rb', line 7 def initialize(key:) @key = key super("persisted payload conflict for #{key.inspect}: the exact expected payload is no longer current") end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
5 6 7 |
# File 'lib/smith/persistence_payload_conflict.rb', line 5 def key @key end |