Class: TableSync::NoCallableError

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

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ NoCallableError

Returns a new instance of NoCallableError.



28
29
30
31
32
33
# File 'lib/table_sync/errors.rb', line 28

def initialize(type)
  super(<<~MSG.squish)
    Can't find callable for #{type}!
    Please initialize TableSync.#{type}_callable with the correct proc!
  MSG
end