Exception: Acta::UnknownEventType

Inherits:
Error
  • Object
show all
Defined in:
lib/acta/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(event_type) ⇒ UnknownEventType

Returns a new instance of UnknownEventType.



59
60
61
62
# File 'lib/acta/errors.rb', line 59

def initialize(event_type)
  @event_type = event_type
  super("Unknown event type #{event_type.inspect} — class is not loaded")
end

Instance Attribute Details

#event_typeObject (readonly)

Returns the value of attribute event_type.



57
58
59
# File 'lib/acta/errors.rb', line 57

def event_type
  @event_type
end