A special type of exception related to database queries.
package |
CMS |
---|
__construct(string $msg, integer $number, string $sql, \CMSMS\Database\ConnectionSpec $connection)
string
$msgThe message string
integer
$numberThe error number
string
$sqlThe related SQL statement, if any
\CMSMS\Database\ConnectionSpec
$connectiongetSQL() : string
string
getConnectionSpec() : \CMSMS\Database\ConnectionSpec