Skip to content

[Improvement] refactor error handler #447

@caiq1nyu

Description

@caiq1nyu

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions