Esempio n. 1
0
 public function __construct(ErrorMessage $error, \Exception $previous = null)
 {
     $this->errorUri = $error->getErrorURI();
     $this->errorMessage = ucfirst(implode(': ', $error->getArguments()));
     parent::__construct($this->errorMessage, $error->getMsgCode(), $previous);
 }