説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

exceptions.py 751B

123456789101112131415161718192021222324252627
  1. # -*- coding: utf-8 -*-
  2. ## @brief An exception class to tell that a component don't exist
  3. class EmComponentNotExistError(Exception):
  4. pass
  5. ## @brief Raised on uniq constraint error at creation
  6. # This exception class is dedicated to be raised when create() method is called
  7. # if an EmComponent with this name but different parameters allready exist
  8. class EmComponentExistError(Exception):
  9. pass
  10. ## @brief An exception class to tell that no ranking exist yet for the group of the object
  11. class EmComponentRankingNotExistError(Exception):
  12. pass
  13. ## @brief An exception class to return a failure reason for EmComponent.check() method
  14. class EmComponentCheckError(Exception):
  15. pass
  16. class MigrationHandlerChangeError(Exception):
  17. pass