Exception: Synapse::EventSourcing::AggregateDeletedError

Inherits:
Repository::AggregateNotFoundError show all
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

Parameters:

  • type_identifier (String)
  • aggregate_id (Object)


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