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

Best practice for error handling #990

Open
cha-king opened this issue Jul 12, 2024 · 0 comments
Open

Best practice for error handling #990

cha-king opened this issue Jul 12, 2024 · 0 comments

Comments

@cha-king
Copy link

Heyo! I'm wondering what's recommended for error handling with this package. For instance, I've received a network is unreachable error that I'd like to handle, however, it doesn't seem as though this is defined as a variable in the package. I imagine this is coming directly from netlink, but I was just wondering if there are any best practices around handling specific error messages beyond resorting to string comparison.

Thanks!

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

1 participant