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

When to use warnings instead of errors #127

Open
hadley opened this issue Jun 9, 2021 · 1 comment
Open

When to use warnings instead of errors #127

hadley opened this issue Jun 9, 2021 · 1 comment

Comments

@hadley
Copy link
Member

hadley commented Jun 9, 2021

One place to use a warning is where you wish you had originally made an error, but changing the behaviour now would break a lot of code.

@hadley hadley changed the title Warnings instead of errors When to use warnings instead of errors Jun 21, 2021
@hadley
Copy link
Member Author

hadley commented Jun 7, 2023

Generally you should use a warning for something that is user actionable.

@hadley hadley added interface 🎁 External interface of functions side-effects 🖨️ and removed interface 🎁 External interface of functions labels Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant