Class: RubyEventStore::EventNotFound
- Defined in:
- lib/ruby_event_store/errors.rb
Instance Attribute Summary collapse
-
#event_id ⇒ Object
readonly
Returns the value of attribute event_id.
Instance Method Summary collapse
-
#initialize(event_id) ⇒ EventNotFound
constructor
A new instance of EventNotFound.
Constructor Details
#initialize(event_id) ⇒ EventNotFound
Returns a new instance of EventNotFound.
20 21 22 23 |
# File 'lib/ruby_event_store/errors.rb', line 20 def initialize(event_id) super("Event not found: #{event_id}") @event_id = event_id end |
Instance Attribute Details
#event_id ⇒ Object (readonly)
Returns the value of attribute event_id.
18 19 20 |
# File 'lib/ruby_event_store/errors.rb', line 18 def event_id @event_id end |