File: exceptions.py

package info (click to toggle)
python-ring-doorbell 0.9.13-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 972 kB
  • sloc: python: 4,764; makefile: 14
file content (17 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""ring-doorbell exceptions."""


class RingError(Exception):
    """Base exception for device errors."""


class Requires2FAError(RingError):
    """Exception that 2FA is required."""


class AuthenticationError(RingError):
    """Exception for ring authentication errors."""


class RingTimeout(RingError):  # noqa: N818
    """Exception for ring authentication errors."""