%PDF- %PDF-
Direktori : /var/www/html/workeasy-api/app/Exceptions/ |
Current File : /var/www/html/workeasy-api/app/Exceptions/ValidationFileException.php |
<?php namespace Workeasy\Exceptions; use Exception; class ValidationFileException extends Exception { /** * The validator instance. * * @var \Illuminate\Contracts\Validation\Validator */ public $validator; /** * The recommended response to send to the client. * * @var \Symfony\Component\HttpFoundation\Response|null */ public $response; /** * Create a new exception instance. * * @param \Illuminate\Contracts\Validation\Validator $validator * @param \Symfony\Component\HttpFoundation\Response $response * * @return void */ public function __construct($response = null) { parent::__construct('Bae64 encoded File is not valid'); $this->response = $response; } /** * Get the underlying response instance. * * @return \Symfony\Component\HttpFoundation\Response|null */ public function getResponse() { return $this->response; } }