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

Handle errors #10

Open
mila opened this issue Feb 9, 2023 · 0 comments
Open

Handle errors #10

mila opened this issue Feb 9, 2023 · 0 comments

Comments

@mila
Copy link
Contributor

mila commented Feb 9, 2023

hface rarely handles any error conditions. In a better case, low-level error bubble up and take down the whole app (which can be a server).

Define a hierarchy of exceptions and raise them at appropriate places. Handle exceptions gracefully: Problem with one client or stream should not stop a server. In CLI, errors should be reported in a friendly manner.

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

No branches or pull requests

1 participant