Exception: Errors::LoadEventError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/advanced_ruby_command_handler/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(event, message = nil) ⇒ LoadEventError

Returns a new instance of LoadEventError.



16
17
18
19
# File 'lib/advanced_ruby_command_handler/errors.rb', line 16

def initialize(event, message = nil)
  super(message)
  @event = event
end

Instance Attribute Details

#eventObject (readonly)

Returns the value of attribute event.



14
15
16
# File 'lib/advanced_ruby_command_handler/errors.rb', line 14

def event
  @event
end