Exception: PgEventstore::SystemStreamError
- 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) ⇒ SystemStreamError
constructor
A new instance of SystemStreamError.
Methods inherited from Error
Constructor Details
#initialize(stream) ⇒ SystemStreamError
Returns a new instance of SystemStreamError.
42 43 44 45 |
# File 'lib/pg_eventstore/errors.rb', line 42 def initialize(stream) @stream = stream super("Stream #{stream.inspect} is a system stream and can't be used to append events.") end |
Instance Attribute Details
#stream ⇒ Object
Returns the value of attribute stream.
39 40 41 |
# File 'lib/pg_eventstore/errors.rb', line 39 def stream @stream end |