Exception: RubyEventStore::InMemoryRepository::UnsupportedVersionAnyUsage

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruby_event_store/in_memory_repository.rb

Instance Method Summary collapse

Constructor Details

#initializeUnsupportedVersionAnyUsage

Returns a new instance of UnsupportedVersionAnyUsage.



7
8
9
10
11
12
13
14
# File 'lib/ruby_event_store/in_memory_repository.rb', line 7

def initialize
  super <<~EOS
  Mixing expected version :any and specific position (or :auto) is unsupported.

  Read more about expected versions here:
  https://railseventstore.org/docs/v2/expected_version/
  EOS
end