Exception: PgEventstore::MissingPartitions
- Defined in:
- lib/pg_eventstore/errors.rb,
sig/pg_eventstore/errors.rbs
Instance Attribute Summary collapse
-
#event_types ⇒ ::Array[String]
Returns the value of attribute event_types.
-
#stream ⇒ Stream
Returns the value of attribute stream.
Instance Method Summary collapse
-
#initialize(stream, event_types) ⇒ MissingPartitions
constructor
@param
stream.
Methods inherited from Error
Constructor Details
#initialize(stream, event_types) ⇒ MissingPartitions
@param stream
@param event_types
343 344 345 346 347 |
# File 'lib/pg_eventstore/errors.rb', line 343 def initialize(stream, event_types) @stream = stream @event_types = event_types super("Missing partitions for stream #{stream.inspect}, event types #{event_types.inspect}") end |
Instance Attribute Details
#event_types ⇒ ::Array[String]
Returns the value of attribute event_types.
339 340 341 |
# File 'lib/pg_eventstore/errors.rb', line 339 def event_types @event_types end |
#stream ⇒ Stream
Returns the value of attribute stream.
336 337 338 |
# File 'lib/pg_eventstore/errors.rb', line 336 def stream @stream end |