8000 refactor: simplify error handling in main by matklad · Pull Request #7897 · near/nearcore · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor: simplify error handling in main #7897

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

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

matklad
Copy link
Contributor
@matklad matklad commented Oct 21, 2022

anyhow is the type to return from main, we dont' get any value here from preserving well-typed errors, and creatng more work down the line to add all future error variants: surely we can fail due to more than these two errors, right?

@matklad matklad requested a review from a team as a code owner October 21, 2022 15:42
@matklad matklad requested a review from nikurt October 21, 2022 15:42
@matklad matklad requested a review from mina86 October 21, 2022 15:43
`anyhow` is the type to return from `main`, we dont' get any value here
from preserving well-typed errors, and creatng more work down the line
to add all future error variants: *surely* we can fail due to more than
these two errors, right?
@near-bulldozer near-bulldozer bot merged commit 34b4897 into near:master Oct 21, 2022
nikurt pushed a commit that referenced this pull request Oct 25, 2022
`anyhow` is the type to return from `main`, we dont' get any value here from preserving well-typed errors, and creatng more work down the line to add all future error variants: *surely* we can fail due to more than these two errors, right?
nikurt pushed a commit that referenced this pull request Nov 7, 2022
`anyhow` is the type to return from `main`, we dont' get any value here from preserving well-typed errors, and creatng more work down the line to add all future error variants: *surely* we can fail due to more than these two errors, right?
nikurt pushed a commit that referenced this pull request Nov 9, 2022
`anyhow` is the type to return from `main`, we dont' get any value here from preserving well-typed errors, and creatng more work down the line to add all future error variants: *surely* we can fail due to more than these two errors, right?
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.

2 participants
0