Exception: EventStoreClient::StreamNotFoundError
- Defined in:
- lib/event_store_client/errors.rb
Instance Attribute Summary collapse
-
#stream_name ⇒ Object
readonly
Returns the value of attribute stream_name.
Instance Method Summary collapse
-
#initialize(stream_name) ⇒ StreamNotFoundError
constructor
A new instance of StreamNotFoundError.
Methods inherited from Error
Constructor Details
#initialize(stream_name) ⇒ StreamNotFoundError
Returns a new instance of StreamNotFoundError.
28 29 30 31 |
# File 'lib/event_store_client/errors.rb', line 28 def initialize(stream_name) @stream_name = stream_name super("Stream #{stream_name.inspect} does not exist.") end |
Instance Attribute Details
#stream_name ⇒ Object (readonly)
Returns the value of attribute stream_name.
25 26 27 |
# File 'lib/event_store_client/errors.rb', line 25 def stream_name @stream_name end |