Exception: Synapse::EventStore::StreamNotFoundError

Inherits:
EventStoreError show all
Defined in:
lib/synapse/event_store/errors.rb

Overview

Raised when a stream could not be found for a specific aggregate

Instance Method Summary collapse

Constructor Details

#initialize(type_identifier, aggregate_id) ⇒ undefined

Parameters:

  • type_identifier (String)
  • aggregate_id (Object)


11
12
13
# File 'lib/synapse/event_store/errors.rb', line 11

def initialize(type_identifier, aggregate_id)
  super 'Stream not found for [%s] [%s]' % [type_identifier, aggregate_id]
end