update to v2.0.0-b4 version

change global.php config load time and logic
set context get server function available more time
delete unused comment and @CQAPISend
@CQCommand add start_with and end_with
set exceptions extended by ZMException
rename @SwooleSetup to @ZMSetup
fix quotes for global.php
fix LightCache empty presistence_path error
remove RemoteShell
This commit is contained in:
crazywhalecc
2020-12-10 16:37:04 +08:00
parent 944a9e849b
commit 1ffb30a471
21 changed files with 110 additions and 381 deletions

View File

@@ -6,7 +6,7 @@ namespace ZM\Exception;
use Exception;
class DbException extends Exception
class DbException extends ZMException
{
}

View File

@@ -6,7 +6,7 @@ namespace ZM\Exception;
use Exception;
class InterruptException extends Exception
class InterruptException extends ZMException
{
}

View File

@@ -6,7 +6,7 @@ namespace ZM\Exception;
use Exception;
class InvalidArgumentException extends Exception
class InvalidArgumentException extends ZMException
{
}

View File

@@ -6,7 +6,7 @@ namespace ZM\Exception;
use Exception;
class NotInitializedException extends Exception
class NotInitializedException extends ZMException
{
}

View File

@@ -12,7 +12,7 @@ use Throwable;
* @package ZM\Exception
* @since 1.2
*/
class RobotNotFoundException extends Exception
class RobotNotFoundException extends ZMException
{
public function __construct($message = "", $code = 0, Throwable $previous = null) {
parent::__construct($message, $code, $previous);

View File

@@ -7,7 +7,7 @@ namespace ZM\Exception;
use Exception;
use Throwable;
class WaitTimeoutException extends Exception
class WaitTimeoutException extends ZMException
{
public $module;

View File

@@ -0,0 +1,12 @@
<?php
namespace ZM\Exception;
use Exception;
class ZMException extends Exception
{
}