mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-20 23:25:35 +08:00
split InitException to SingletonViolationException
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user