19 lines
317 B
PHP
19 lines
317 B
PHP
<?php
|
|
|
|
namespace core\exception;
|
|
|
|
use RuntimeException;
|
|
use Throwable;
|
|
|
|
/**
|
|
* 插件错误异常处理类
|
|
*/
|
|
class AddonException extends RuntimeException
|
|
{
|
|
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
|
{
|
|
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
}
|