1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-12-12 13:26:53 +01:00

[Exceptions] pep8+pylint on exceptions.py

This commit is contained in:
Roland Haroutiounian 2015-07-29 10:44:52 +02:00
commit 33d163db8f

View file

@ -1,22 +1,27 @@
# -*- coding: utf-8 -*-
## @brief An exception class to tell that a component don't exist
class EmComponentNotExistError(Exception):
pass
## @brief Raised on uniq constraint error at creation
# This exception class is dedicated to be raised when create() method is called
# if an EmComponent with this name but different parameters allready exist
class EmComponentExistError(Exception):
pass
## @brief An exception class to tell that no ranking exist yet for the group of the object
class EmComponentRankingNotExistError(Exception):
pass
## @brief An exception class to return a failure reason for EmComponent.check() method
class EmComponentCheckError(Exception):
pass
class MigrationHandlerChangeError(Exception):
pass