Exception: PgEventstore::MissingPartitions
- Defined in:
- lib/pg_eventstore/errors.rb
Instance Attribute Summary collapse
-
#event_types ⇒ Object
Returns the value of attribute event_types.
-
#stream ⇒ Object
Returns the value of attribute stream.
Instance Method Summary collapse
-
#initialize(stream, event_types) ⇒ MissingPartitions
constructor
A new instance of MissingPartitions.
Methods inherited from Error
Constructor Details
#initialize(stream, event_types) ⇒ MissingPartitions
Returns a new instance of MissingPartitions.
220 221 222 223 224 |
# File 'lib/pg_eventstore/errors.rb', line 220 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 ⇒ Object
Returns the value of attribute event_types.
216 217 218 |
# File 'lib/pg_eventstore/errors.rb', line 216 def event_types @event_types end |
#stream ⇒ Object
Returns the value of attribute stream.
213 214 215 |
# File 'lib/pg_eventstore/errors.rb', line 213 def stream @stream end |