Brak opisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

exceptions.py 540B

123456789101112131415161718192021222324252627282930
  1. #-*- coding: utf-8 -*-
  2. from lodel.exceptions import LodelExceptions, LodelException
  3. class LeApiError(LodelException):
  4. pass
  5. ##@brief Handles multiple LeAPI errors
  6. class LeApiErrors(LodelExceptions, LeApiError):
  7. pass
  8. ##@brief When an error concerns a datas
  9. class LeApiDataCheckError(LeApiError):
  10. pass
  11. class LeApiDataCheckErrors(LodelExceptions, LeApiError):
  12. pass
  13. class LeApiQueryError(LeApiError):
  14. pass
  15. ##@brief Handles mulitple query errors
  16. class LeApiQueryErrors(LodelExceptions, LeApiQueryError):
  17. pass