Exception: Acta::ReplayError
- Defined in:
- lib/acta/errors.rb
Instance Attribute Summary collapse
-
#original ⇒ Object
readonly
Returns the value of attribute original.
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(record:, original:) ⇒ ReplayError
constructor
A new instance of ReplayError.
Constructor Details
#initialize(record:, original:) ⇒ ReplayError
Returns a new instance of ReplayError.
68 69 70 71 72 |
# File 'lib/acta/errors.rb', line 68 def initialize(record:, original:) @record = record @original = original super("Replay failed on event id=#{record.id} uuid=#{record.uuid} (#{record.event_type}): #{original.}") end |
Instance Attribute Details
#original ⇒ Object (readonly)
Returns the value of attribute original.
66 67 68 |
# File 'lib/acta/errors.rb', line 66 def original @original end |
#record ⇒ Object (readonly)
Returns the value of attribute record.
66 67 68 |
# File 'lib/acta/errors.rb', line 66 def record @record end |