8 public function __construct(array $queryResult, \Exception $previous =
null)
10 $errorMessage = $queryResult[
'error'];
11 if($errorMessage <>
'' && $queryResult[
'error_description'] <>
'')
13 $errorMessage .=
": ";
15 $errorMessage .= $queryResult[
'error_description'];
17 if(intval($queryResult[
'error']) > 0)
19 parent::__construct($errorMessage, intval($queryResult[
'error']));
23 parent::__construct($errorMessage);