123456789101112131415161718192021222324 |
- <?php
- namespace App\Admin\Extensions\Exception;
- use Exception;
- class ValidateException extends Exception
- {
- protected $response;
- public function __construct($response)
- {
- parent::__construct('error');
- $this->response=$response;
- }
-
- public function render()
- {
- return $this->response;
- }
- }
|