Exception: Sqlyzer::RequestError

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

Overview

Raised when an invalid Sql request is sent to the database.

Development will aim at never raise such error (as the user doesn’t have to deal with Sql).

Instance Method Summary collapse

Constructor Details

#initialize(request) ⇒ RequestError

Returns a new instance of RequestError.



70
71
72
# File 'lib/sqlyzer/errors.rb', line 70

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