No Description
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 623B

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