Source code for inlyse.exceptions

"""Module for all exceptions
"""


[docs]class InlyseApiError(Exception): """The INLYSE API returned an error""" def __init__(self, *args, **kwargs): self.response = kwargs.pop("response", None)
[docs]class RateLimitExceeded(Exception): """The rate limit for this license key exceeded""" pass
[docs]class MaxRetriesExceeded(Exception): """The maximal retries exceeded""" pass