Exception: Omnes::InvalidEventNameError
- Defined in:
- lib/omnes/errors.rb
Overview
Raised when trying to register an invalid event name
Instance Attribute Summary collapse
-
#event_name ⇒ Object
readonly
Returns the value of attribute event_name.
Instance Method Summary collapse
-
#initialize(event_name:) ⇒ InvalidEventNameError
constructor
A new instance of InvalidEventNameError.
Constructor Details
#initialize(event_name:) ⇒ InvalidEventNameError
Returns a new instance of InvalidEventNameError.
44 45 46 47 |
# File 'lib/omnes/errors.rb', line 44 def initialize(event_name:) @event_name = event_name super() end |
Instance Attribute Details
#event_name ⇒ Object (readonly)
Returns the value of attribute event_name.
42 43 44 |
# File 'lib/omnes/errors.rb', line 42 def event_name @event_name end |