sofa-rpc
sofa-rpc copied to clipboard
[WIP] Support customer exception
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.