Exception: Hanami::Model::UnknownDatabaseAdapterError

Inherits:
Error
  • Object
show all
Defined in:
lib/hanami/model/error.rb

Overview

Unknown database adapter error

Since:

  • 1.2.1

Instance Method Summary collapse

Methods inherited from Error

for, mapping, register

Constructor Details

#initialize(url) ⇒ UnknownDatabaseAdapterError

Returns a new instance of UnknownDatabaseAdapterError.

Since:

  • 1.2.1



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