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.
10 11 12 13 14 15 |
# File 'lib/table_sync/errors.rb', line 10 def initialize(event) super(<<~MSG.squish) Event #{event.inspect} is invalid.#{' '} Expected: #{TableSync::Event::VALID_RAW_EVENTS.inspect}. MSG end |