You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
479 B
27 lines
479 B
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: admin
|
|
* Date: 2019/1/18
|
|
* Time: 14:43
|
|
*/
|
|
|
|
namespace app\lib\exception;
|
|
|
|
|
|
use app\lib\enum\ErrorLevel;
|
|
use think\Exception;
|
|
|
|
class SysException extends Exception
|
|
{
|
|
public $errCode = 0;
|
|
public $message = "";
|
|
public $data = "";
|
|
|
|
public function __construct($errCode,$message,$data)
|
|
{
|
|
$this->errCode = $errCode;
|
|
$this->message = $message;
|
|
$this->data = $data;
|
|
}
|
|
} |