1234567891011121314151617 |
- <?php
- /**
- * @Name
- * @Description
- * @Author 刘学玺
- * @Date 2023/11/23 17:32
- */
- namespace App\Exceptions;
- class ApiException extends \Exception
- {
- public function __construct(array $apiErrorConst, \Throwable $previous = null)
- {
- parent::__construct($apiErrorConst['message'], $apiErrorConst['code'], $previous);
- }
- }
|