暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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