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

core: improve error handling with anyhow #259

Merged
merged 2 commits into from
Jun 19, 2024
Merged

Conversation

vincenzopalazzo
Copy link
Owner

@vincenzopalazzo vincenzopalazzo commented Jun 19, 2024

This is a fix step on improving the error handling, but we still need to find out how to improve the error handling for external error type. Probably a good solution for this is thierror.

Suggested-by: @Harshit933
Fixes #199

This is a fix step on improving the error handling, but
we still need to find out how to improve the error handling
for external error type. Probably a good solution for this
is thierror.

Suggested-by: @Harshit933
Link: #199
Signed-off-by: Vincenzo Palazzo <[email protected]>
@vincenzopalazzo vincenzopalazzo added the 👀 - seeking reviews This PR is seeking reviews label Jun 19, 2024
This allow to find the problem at compile time, and also
to unify the way of writing rust.

Signed-off-by: Vincenzo Palazzo <[email protected]>
@vincenzopalazzo vincenzopalazzo force-pushed the macros/error-handling branch from 07d943c to ac09a6f Compare June 19, 2024 07:49
Copy link
Collaborator

@Harshit933 Harshit933 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single comment only otherwise LGTM

lampo-common/src/conf.rs Show resolved Hide resolved
@vincenzopalazzo vincenzopalazzo merged commit e45c9b5 into main Jun 19, 2024
3 of 5 checks passed
@vincenzopalazzo vincenzopalazzo deleted the macros/error-handling branch June 19, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👀 - seeking reviews This PR is seeking reviews
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Support '?' for RPC errors.
2 participants