/** * @param array $errors * @param string $message * @param integer $code * @param Exception $previous */ public function __construct(Request $request, $message = '', $code = 0, \Exception $previous = NULL) { $this->request = $request; parent::__construct($message, $code, $previous); }
/** * @param array $errors * @param string $message * @param integer $code * @param Exception $previous */ public function __construct(array $errors, $message = '', $code = 0, \Exception $previous = NULL) { $this->errors = $errors; parent::__construct($message, $code, $previous); }