Exception: Yoker::UnsupportedDatabaseError
- Inherits:
-
InvalidConfigurationError
- Object
- StandardError
- Error
- InvalidConfigurationError
- Yoker::UnsupportedDatabaseError
- Defined in:
- lib/yoker/errors.rb
Overview
Raised when unsupported database is specified
Instance Method Summary collapse
-
#initialize(database) ⇒ UnsupportedDatabaseError
constructor
A new instance of UnsupportedDatabaseError.
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 |