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

(Suggestion) replace panics with errors #285

Open
Gisbert12843 opened this issue Jul 18, 2024 · 1 comment
Open

(Suggestion) replace panics with errors #285

Gisbert12843 opened this issue Jul 18, 2024 · 1 comment

Comments

@Gisbert12843
Copy link

Gisbert12843 commented Jul 18, 2024

Would be great if you could replace all those panics when a format is different from the expected one with an returned error instead.

Right now it is literally impossible to use since the thread instantly panics when trying to read a file that is wrongly formatted by any reason.

Let us handle those errors instead so we can use the library even in bad weather scenarious.

@Heinenen
Copy link
Collaborator

#307 addresses this issue to some extent, but it's still a long way to go towards panic freedom.

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

No branches or pull requests

2 participants