python-kasa/kasa/exceptions.py
Teemu R 9dc0cbaece
Add retries to protocol queries (#65)
* Add retries to query(), defaults to 3 + add tests

* Catch also json decoding errors for retries

* add missing exceptions file, fix old protocol tests
2020-05-27 20:02:09 +03:00

6 lines
115 B
Python

"""python-kasa exceptions."""
class SmartDeviceException(Exception):
"""Base exception for device errors."""