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

feat: Error handling #549

Merged
merged 23 commits into from
Aug 19, 2022
Merged

feat: Error handling #549

merged 23 commits into from
Aug 19, 2022

Conversation

IWANABETHATGUY
Copy link
Contributor

@IWANABETHATGUY IWANABETHATGUY commented Aug 15, 2022

Summary

This pull request only finishes the functionality of Error Handling, the fine-grined handing will improve in the future pull requests.

Show case

For a file resolve error, let's see what's the difference between this pull request and next branch

next branch
image

pr branch
image
The start and end offset of Traceable Error are not right for now, will improve in the next pr.

Test Plan

  1. This pull request does not introduce any test case.
  2. CI should still pass.

Related issue (if exists)

  1. Resolved reduce .uwnrap() and using custom error type instead of anyhow #527

Future reading

@IWANABETHATGUY IWANABETHATGUY changed the title (WIP): feat: 🎸 init (WIP): feat: Error handing Aug 15, 2022
@IWANABETHATGUY IWANABETHATGUY changed the title (WIP): feat: Error handing (WIP): feat: Error handling Aug 15, 2022
@IWANABETHATGUY IWANABETHATGUY force-pushed the feat/error-handling branch 5 times, most recently from 1f1db1a to 7437625 Compare August 18, 2022 09:24
@IWANABETHATGUY IWANABETHATGUY changed the title (WIP): feat: Error handling feat: Error handling Aug 18, 2022
@IWANABETHATGUY IWANABETHATGUY requested review from h-a-n-a and hyf0 and removed request for hyf0 August 18, 2022 13:03
@IWANABETHATGUY
Copy link
Contributor Author

@iheyunfei @hardfist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reduce .uwnrap() and using custom error type instead of anyhow
4 participants