Exception: Dionysus::Monitor::UnknownEventError
- Inherits:
-
StandardError
- Object
- StandardError
- Dionysus::Monitor::UnknownEventError
- Defined in:
- lib/dionysus/monitor.rb
Instance Method Summary collapse
-
#initialize(available_events, current_event) ⇒ UnknownEventError
constructor
A new instance of UnknownEventError.
- #message ⇒ Object
Constructor Details
#initialize(available_events, current_event) ⇒ UnknownEventError
Returns a new instance of UnknownEventError.
38 39 40 41 42 |
# File 'lib/dionysus/monitor.rb', line 38 def initialize(available_events, current_event) super() @available_events = available_events @current_event = current_event end |
Instance Method Details
#message ⇒ Object
44 45 46 |
# File 'lib/dionysus/monitor.rb', line 44 def "unknown event: #{current_event}, the available events are: #{available_events.join(", ")}" end |