Exception: Hanami::CLI::DatabaseNotSupportedError
- Defined in:
- lib/hanami/cli/errors.rb
Overview
Instance Method Summary collapse
-
#initialize(invalid_database, supported_databases) ⇒ DatabaseNotSupportedError
constructor
A new instance of DatabaseNotSupportedError.
Constructor Details
#initialize(invalid_database, supported_databases) ⇒ DatabaseNotSupportedError
Returns a new instance of DatabaseNotSupportedError.
98 99 100 |
# File 'lib/hanami/cli/errors.rb', line 98 def initialize(invalid_database, supported_databases) super("`#{invalid_database}' is not a supported database. Supported databases are: #{supported_databases.join(', ')}") end |