DataMissException.php
438 字节
<?php
namespace app\api\library\Exception;
use Throwable;
class DataMissException extends BaseException {
public $code = -1;
public $msg ='数据查询不到';
public $errCode = 200;
public function __construct($message = "", $code = 0, Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
if(!empty($message)){
$this->message = $message;
}
}
}