Motivations
existing error handling processes are relatively rudimentary and lack flexible self-recovery capabilities in complex scenarios, such as network jitter.
Solution
- provide basic error codes
- provide error handling strategies for some error codes, such as: retry/ignore/interrupt
- remove unnecessary unwraps
- provide more user-friendly error and interruption information