改名
This commit is contained in:
@@ -10,6 +10,7 @@ declare(strict_types=1);
|
||||
namespace Snowflake\Exception;
|
||||
|
||||
|
||||
use JetBrains\PhpStorm\Pure;
|
||||
use Throwable;
|
||||
|
||||
/**
|
||||
@@ -19,7 +20,14 @@ use Throwable;
|
||||
class ComponentException extends \Exception
|
||||
{
|
||||
|
||||
public function __construct(string $message = "", int $code = 0, Throwable $previous = NULL)
|
||||
|
||||
/**
|
||||
* ComponentException constructor.
|
||||
* @param string $message
|
||||
* @param int $code
|
||||
* @param Throwable|null $previous
|
||||
*/
|
||||
#[Pure] public function __construct(string $message = "", int $code = 0, Throwable $previous = NULL)
|
||||
{
|
||||
parent::__construct($message, 5000, $previous);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user