mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-20 23:25:35 +08:00
update to 2.0.0-b6 version
add interrupt return_value to InterruptException
This commit is contained in:
@@ -4,7 +4,14 @@
|
||||
namespace ZM\Exception;
|
||||
|
||||
|
||||
use Throwable;
|
||||
|
||||
class InterruptException extends ZMException
|
||||
{
|
||||
public $return_var = null;
|
||||
|
||||
public function __construct($return_var = null, $message = "", $code = 0, Throwable $previous = null) {
|
||||
parent::__construct($message, $code, $previous);
|
||||
$this->return_var = $return_var;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user