Class: TableSync::EventError
Instance Method Summary collapse
-
#initialize(event) ⇒ EventError
constructor
A new instance of EventError.
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) |