Exception: Sqlyzer::ConnexionError
- Inherits:
-
DatabaseError
- Object
- RuntimeError
- Error
- DatabaseError
- Sqlyzer::ConnexionError
- Defined in:
- lib/sqlyzer/errors.rb
Overview
Raised when an error is caught during connexion to the database.
Instance Method Summary collapse
-
#initialize(connexion_string) ⇒ ConnexionError
constructor
A new instance of ConnexionError.
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 |