Exception: RubyEventStore::EventNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- 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.
13 14 15 16 |
# File 'lib/ruby_event_store/errors.rb', line 13 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.
12 13 14 |
# File 'lib/ruby_event_store/errors.rb', line 12 def event_id @event_id end |