Files
zhamao-framework/src/ZM/Exception/NotInitializedException.php

16 lines
318 B
PHP
Raw Normal View History

2020-11-03 21:02:24 +08:00
<?php
declare(strict_types=1);
2020-11-03 21:02:24 +08:00
namespace ZM\Exception;
2021-06-16 00:17:30 +08:00
use Throwable;
2020-11-03 21:02:24 +08:00
2021-06-16 00:17:30 +08:00
class NotInitializedException extends RedisException
{
public function __construct($message = '', $code = 0, Throwable $previous = null)
{
parent::__construct(zm_internal_errcode('E00046') . $message, $code, $previous);
2021-06-16 00:17:30 +08:00
}
2020-11-03 21:02:24 +08:00
}