Exception: Sqlyzer::ConnexionError

Inherits:
DatabaseError show all
Defined in:
lib/sqlyzer/errors.rb

Overview

Raised when an error is caught during connexion to the database.

Instance Method Summary collapse

Constructor Details

#initialize(connexion_string) ⇒ ConnexionError

Returns a new instance of ConnexionError.



58
59
60
# File 'lib/sqlyzer/errors.rb', line 58

def   initialize(connexion_string)
  super "Received error : #{$!.to_s.chomp}\nfor DBI connexion string : '#{connexion_string}'"
end