Class: TableSync::EventError

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

Instance Method Summary collapse

Constructor Details

#initialize(event) ⇒ EventError

Returns a new instance of EventError.



9
10
11
12
13
14
# File 'lib/table_sync/errors.rb', line 9

def initialize(event)
  super("    Event \#{event.inspect} is invalid.\#{' '}\n    Expected: \#{TableSync::Event::VALID_RAW_EVENTS.inspect}.\n  MSG\nend\n".squish)