first commit
This commit is contained in:
19
var/Typecho/Exception.php
Executable file
19
var/Typecho/Exception.php
Executable file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Typecho;
|
||||
|
||||
/**
|
||||
* Typecho异常基类
|
||||
* 主要重载异常打印函数
|
||||
*
|
||||
* @package Exception
|
||||
*/
|
||||
class Exception extends \Exception
|
||||
{
|
||||
|
||||
public function __construct($message, $code = 0)
|
||||
{
|
||||
$this->message = $message;
|
||||
$this->code = $code;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user