We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
扩展自己的 Handler 好像也没有生效。具体代码粘贴一下
我这边都是没问题的
class ExceptionHandler extends Handler { /** * @desc: 重写处理扩展的异常,增加自己的异常 * @param Throwable $e * @author Tinywan(ShaoBo Wan) */ protected function solveExtraException(Throwable $e): void { // 用户中心异常处理 if ($e instanceof \ErrorException) { $this->errorMessage = '用户中心异常:'.$e->getMessage(); $this->errorCode = 400; return; } parent::solveExtraException($e); } }
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: