Home Assistant Unofficial Reference
2024.12.1
exceptions.py
Go to the documentation of this file.
1
"""Exceptions for fitbit API calls.
2
3
These exceptions exist to provide common exceptions for the async and sync client libraries.
4
"""
5
6
from
homeassistant.exceptions
import
HomeAssistantError
7
8
9
class
FitbitApiException
(
HomeAssistantError
):
10
"""Error talking to the fitbit API."""
11
12
13
class
FitbitAuthException
(
FitbitApiException
):
14
"""Authentication related error talking to the fitbit API."""
homeassistant.components.fitbit.exceptions.FitbitApiException
Definition:
exceptions.py:9
homeassistant.components.fitbit.exceptions.FitbitAuthException
Definition:
exceptions.py:13
homeassistant.exceptions.HomeAssistantError
Definition:
exceptions.py:34
homeassistant.exceptions
Definition:
exceptions.py:1
core
homeassistant
components
fitbit
exceptions.py
Generated by
1.9.1