Exception: PgEventstore::StreamNotFoundError
- Defined in:
- lib/pg_eventstore/errors.rb,
sig/pg_eventstore/errors.rbs
Instance Attribute Summary collapse
-
#stream ⇒ Stream
Returns the value of attribute stream.
Instance Method Summary collapse
-
#initialize(stream) ⇒ StreamNotFoundError
constructor
@param
stream.
Methods inherited from Error
Constructor Details
#initialize(stream) ⇒ StreamNotFoundError
@param stream
30 31 32 33 |
# File 'lib/pg_eventstore/errors.rb', line 30 def initialize(stream) @stream = stream super("Stream #{stream.inspect} does not exist.") end |
Instance Attribute Details
#stream ⇒ Stream
Returns the value of attribute stream.
27 28 29 |
# File 'lib/pg_eventstore/errors.rb', line 27 def stream @stream end |