woof/pyezviz/exceptions.py

21 lines
368 B
Python
Raw Normal View History

"""PyEzviz Exceptions."""
class PyEzvizError(Exception):
"""Ezviz api exception."""
class InvalidURL(PyEzvizError):
"""Invalid url exception."""
class HTTPError(PyEzvizError):
"""Invalid host exception."""
class InvalidHost(PyEzvizError):
"""Invalid host exception."""
class AuthTestResultFailed(PyEzvizError):
"""Authentication failed"""