You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
All rules code currently uses panic to handle invalid argument values.
Describe the solution you'd like
This can be improved by returning an error instead of panicking, which will make the code more robust, easier to test, and easier to handle in different contexts.
The text was updated successfully, but these errors were encountered:
alexandear
changed the title
Refactors all rules to avoid using panic
Refactor rules implementation to avoid using panic
Nov 11, 2024
Is your feature request related to a problem? Please describe.
All rules code currently uses
panic
to handle invalid argument values.Describe the solution you'd like
This can be improved by returning an error instead of panicking, which will make the code more robust, easier to test, and easier to handle in different contexts.
The text was updated successfully, but these errors were encountered: