Exception: Yoker::UnsupportedDatabaseError

Inherits:
InvalidConfigurationError show all
Defined in:
lib/yoker/errors.rb

Overview

Raised when unsupported database is specified

Instance Method Summary collapse

Constructor Details

#initialize(database) ⇒ UnsupportedDatabaseError



55
56
57
58
# File 'lib/yoker/errors.rb', line 55

def initialize(database)
  supported = %w[postgresql mysql sqlite3]
  super("Database '#{database}' is not supported. Supported: #{supported.join(", ")}")
end