53 if (!empty($this->configuration[
'ignoreCodes.'])) {
54 if (in_array($exception->getCode(), array_map(
'intval', $this->configuration[
'ignoreCodes.']),
true)) {
58 $errorMessage = isset($this->configuration[
'errorMessage']) ? $this->configuration[
'errorMessage'] :
'Oops, an error occurred! Code: %s';
63 return sprintf($errorMessage, $code);
73 $this->
getLogger()->alert(sprintf($errorMessage, $code), array(
'exception' => $exception));