sofa-rpc icon indicating copy to clipboard operation
sofa-rpc copied to clipboard

[WIP] Support customer exception

Open wangchengming666 opened this issue 4 months ago • 1 comments

Motivation:

Explain the context, and why you're making that change. To make others understand what is the problem you're trying to solve.

Modification:

Describe the idea and modifications you've done.

Result:

Fixes #<GitHub issue number>.

If there is no issue then describe the changes introduced by this PR.

Summary by CodeRabbit

  • New Features
    • Enhanced retry logic to handle user-defined exceptions, allowing for more flexible and robust error recovery in RPC operations.
    • Introduced a new configuration option to specify user-defined exceptions for consumers, improving customization of error handling.
  • Refactor
    • Updated exception handling infrastructure to support new user-defined error types.
  • Documentation
    • Added new constants and configuration settings in the API documentation to assist developers in utilizing the new features effectively.

wangchengming666 avatar Apr 16 '24 12:04 wangchengming666