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

Upgrade exception handling #116

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

OliverUrsell
Copy link

I've created a new exception (TapoError) so that try-catch statements can catch errors without having to catch the generic "Exception" type.

I've also included error handling where I perceived it may have been missing, please comment if I have raised an exception where there should not be one.

Please let me know if there are any changes that need to be made that are blocking this from being merged.

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

Successfully merging this pull request may close these issues.

1 participant