refactor ZMException

This commit is contained in:
sunxyw
2022-11-15 21:48:46 +08:00
parent 02003b2bd3
commit 5f4a00c77e
7 changed files with 27 additions and 23 deletions

View File

@@ -10,7 +10,8 @@ class InterruptException extends ZMException
public function __construct($return_var = null, $message = '', $code = 0, \Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
// TODO: change this to a better error message
parent::__construct($message, '', $code, $previous);
$this->return_var = $return_var;
}
}