Exception: PgEventstore::StreamNotFoundError
- Defined in:
- lib/pg_eventstore/errors.rb
Instance Attribute Summary collapse
-
#stream ⇒ Object
Returns the value of attribute stream.
Instance Method Summary collapse
-
#initialize(stream) ⇒ StreamNotFoundError
constructor
A new instance of StreamNotFoundError.
Methods inherited from Error
Constructor Details
#initialize(stream) ⇒ StreamNotFoundError
Returns a new instance of StreamNotFoundError.
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 ⇒ Object
Returns the value of attribute stream.
27 28 29 |
# File 'lib/pg_eventstore/errors.rb', line 27 def stream @stream end |