GovtNZ\SilverStripe\SqlExplorer\SQLExplorerQueryGrid_ItemRequest::errorHandler
A simple error handler that is set for the SQL execution, which takes a user error and throws it as an exception. This lets us catch it and return it in the ajax response.
Signature
public function errorHandler(integer
$errorNo,
string
$message )
Parameters
$errorNo
— integer$message
— string