Exception: Hanami::Model::UnknownDatabaseAdapterError
- Defined in:
- lib/hanami/model/error.rb
Overview
Unknown database adapter error
Instance Method Summary collapse
-
#initialize(url) ⇒ UnknownDatabaseAdapterError
constructor
A new instance of UnknownDatabaseAdapterError.
Methods inherited from Error
Constructor Details
#initialize(url) ⇒ UnknownDatabaseAdapterError
Returns a new instance of UnknownDatabaseAdapterError.
126 127 128 |
# File 'lib/hanami/model/error.rb', line 126 def initialize(url) super("Unknown database adapter for URL: #{url.inspect}. Please check your database configuration (hint: ENV['DATABASE_URL']).") end |