Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Simplify ErrorCode #3215

Open
Tracked by #3231
sehz opened this issue May 2, 2023 · 0 comments
Open
Tracked by #3231

Refactor: Simplify ErrorCode #3215

sehz opened this issue May 2, 2023 · 0 comments

Comments

@sehz
Copy link
Contributor

sehz commented May 2, 2023

The current Error Code needs to be refactored. The primary issue is that it strongly couples protocol to API-level error code. The error code references the error code in the higher-level components such as SC and SPU.

An updated error code version will only contain minimum error representation and downcast to a specific error code for each component. The changes need to be backward compatible until 0.11.0.

@sehz sehz added this to the 0.10.9 milestone May 2, 2023
@sehz sehz changed the title Tech debt: Simplify ErrorCode Refactor: Simplify ErrorCode May 2, 2023
@sehz sehz removed this from the 0.10.9 milestone May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants