split InitException to SingletonViolationException

This commit is contained in:
sunxyw
2022-12-16 17:58:52 +08:00
parent daa07dcb2b
commit ebb724415d
5 changed files with 24 additions and 20 deletions

View File

@@ -6,9 +6,4 @@ namespace ZM\Exception;
class InitException extends ZMException
{
public function __construct(string $message = '', int $code = 0, ?\Throwable $previous = null)
{
// TODO: change this to a better error message
parent::__construct($message, '', $code, $previous);
}
}