a4363220 opened a new issue, #10679:
URL: https://github.com/apache/dubbo/issues/10679

   ### Environment
   
   * Dubbo version: 3.1.0
   * Operating System version: windows
   * Java version: jdk8
   * protocol:tri
   * serialization:kryo
   
   问题描述:consumer将provider端抛出的自定义异常转换成了RpcException
   
   目的:
   参考了多种解决方案,有些方案中使用的dubbo版本已经落后于我当前的dubbo版本了,我想咨询一下目前官方
   有针对provider统一异常的方案吗?或者就近的版本会更新解决这个问题
    
   目前采取过的方案:
   1.在provider端拓展ExceptionFilter,使其抛出BizException,但是客户端还是用RpcException进行了转换
   2.在provider回传异常的code和msg,但是在consumer的clusterFilter中却拿不到provider回传的code和msg
   3.在api接口声明BizException,无效,还是RpcException


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to