Files
zhamao-framework/src/ZM/Exception/InterruptException.php
jerry 81365173d2 update to 2.0.0-b6 version
add interrupt return_value to InterruptException
2020-12-20 18:08:34 +08:00

18 lines
343 B
PHP

<?php
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;
}
}