Exceptions
- exception pylibrelinkup.exceptions.AuthenticationError[source]
Bases:
PyLibreLinkUpErrorRaised when authentication fails.
- exception pylibrelinkup.exceptions.EmailVerificationError[source]
Bases:
PyLibreLinkUpErrorRaised when the user needs to verify their email.
- exception pylibrelinkup.exceptions.LLUAPIError(response_code, message)[source]
Bases:
PyLibreLinkUpErrorRaised when the LibreLinkUp API returns an error.
- exception pylibrelinkup.exceptions.LLUAPIRateLimitError(response_code, message, retry_after=None)[source]
Bases:
LLUAPIErrorRaised when the LibreLinkUp API returns a rate limit error.
- exception pylibrelinkup.exceptions.PatientNotFoundError[source]
Bases:
PyLibreLinkUpErrorRaised when a patient with the provided patient_id is not found.
- exception pylibrelinkup.exceptions.PrivacyPolicyError[source]
Bases:
PyLibreLinkUpErrorRaised when the user needs to accept the privacy policy.
- exception pylibrelinkup.exceptions.PyLibreLinkUpError[source]
Bases:
ExceptionBase class for PyLibreLinkUp exceptions.
- exception pylibrelinkup.exceptions.RedirectError(region)[source]
Bases:
PyLibreLinkUpErrorRaised when a redirect is encountered during authentication. This is a signal to retry the request with the new region. The new region is stored in the region attribute of the exception, which is an APIUrl enum value.
- exception pylibrelinkup.exceptions.TermsOfUseError[source]
Bases:
PyLibreLinkUpErrorRaised when the user needs to accept terms of use.