mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-22 08:05:34 +08:00
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:
@@ -6,7 +6,7 @@ namespace ZM\Exception;
|
||||
|
||||
use Exception;
|
||||
|
||||
class DbException extends Exception
|
||||
class DbException extends ZMException
|
||||
{
|
||||
|
||||
}
|
||||
@@ -6,7 +6,7 @@ namespace ZM\Exception;
|
||||
|
||||
use Exception;
|
||||
|
||||
class InterruptException extends Exception
|
||||
class InterruptException extends ZMException
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace ZM\Exception;
|
||||
|
||||
use Exception;
|
||||
|
||||
class InvalidArgumentException extends Exception
|
||||
class InvalidArgumentException extends ZMException
|
||||
{
|
||||
|
||||
}
|
||||
@@ -6,7 +6,7 @@ namespace ZM\Exception;
|
||||
|
||||
use Exception;
|
||||
|
||||
class NotInitializedException extends Exception
|
||||
class NotInitializedException extends ZMException
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace ZM\Exception;
|
||||
use Exception;
|
||||
use Throwable;
|
||||
|
||||
class WaitTimeoutException extends Exception
|
||||
class WaitTimeoutException extends ZMException
|
||||
{
|
||||
public $module;
|
||||
|
||||
|
||||
12
src/ZM/Exception/ZMException.php
Normal file
12
src/ZM/Exception/ZMException.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace ZM\Exception;
|
||||
|
||||
|
||||
use Exception;
|
||||
|
||||
class ZMException extends Exception
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user