Exception: Hanami::CLI::DatabaseExistenceCheckError

Inherits:
Error
  • Object
show all
Defined in:
lib/hanami/cli/errors.rb

Overview

Since:

  • 2.2.0

Instance Method Summary collapse

Constructor Details

#initialize(original_message) ⇒ DatabaseExistenceCheckError

Returns a new instance of DatabaseExistenceCheckError.

Since:

  • 2.2.0



126
127
128
# File 'lib/hanami/cli/errors.rb', line 126

def initialize(original_message)
  super("Could not check if the database exists. Error message:\n#{original_message}")
end