Exception: Synapse::EventSourcing::AggregateDeletedError
- Inherits:
-
Repository::AggregateNotFoundError
- Object
- RuntimeError
- SynapseError
- NonTransientError
- Repository::AggregateNotFoundError
- Synapse::EventSourcing::AggregateDeletedError
- Defined in:
- lib/synapse/event_sourcing/repository.rb
Overview
Raised when an aggregate has been found but it was marked for deletion
Instance Method Summary collapse
Constructor Details
#initialize(type_identifier, aggregate_id) ⇒ undefined
145 146 147 |
# File 'lib/synapse/event_sourcing/repository.rb', line 145 def initialize(type_identifier, aggregate_id) super 'Aggregate marked for deletion [%s] [%s]' % [type_identifier, aggregate_id] end |