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

Clean up raised library exceptions #1558

Merged
merged 1 commit into from Oct 24, 2022
Merged

Commits on Oct 24, 2022

  1. Clean up raised library exceptions

    This commit removes all unnecessary custom classes in favor of using standard python exceptions or DeviceExceptions:
    * Invalid input values are now reported using TypeErrors and ValueErrors
    * UnsupportedFeatureException gets raised if the device does not support the wanted feature
    
    Most of of the downstream users are hopefully catching DeviceExceptions for error handling so this change requires no further action.
    rytilahti committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    81b3384 View commit details
    Browse the repository at this point in the history