Skip to content

Library is using Asserts without throwing a message #22

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

Closed
jposada202020 opened this issue Apr 26, 2021 · 1 comment
Closed

Library is using Asserts without throwing a message #22

jposada202020 opened this issue Apr 26, 2021 · 1 comment

Comments

@jposada202020
Copy link
Contributor

jposada202020 commented Apr 26, 2021

Library is using assert statements. It is preferable to add a customary message to inform the problem
outdated: .instead use Exceptions.

assert accel_range in (ACCEL_RANGE_2G, ACCEL_RANGE_4G, ACCEL_RANGE_8G)

@jposada202020 jposada202020 changed the title Library is using Asserts Library is using Asserts without throwing a message Apr 26, 2021
@jposada202020
Copy link
Contributor Author

Fix by #24

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