/** * @param Request $request * @param ValidationException $e * * @return Response */ private function sendResponseForValidationError(Request $request, ValidationException $e) { return $e->getResponse(); }
/** * ValidationException constructor. * * @param \Illuminate\Validation\Validator $validator */ public function __construct(\Illuminate\Validation\Validator $validator) { parent::__construct($validator); }