# Path: HPCStats/Errors/Error.py
# class HPCStatsError(object):
# 
#     def __init__(self, code, reason):
# 
#         self.code = code
#         self.reason = reason
# 
#     def __eq__(self, other):
# 
#         return self.code == other.code


from HPCStats.Errors.Error import HPCStatsError
# This file is part of HPCStats.
#
# HPCStats is free software: you can redistribute in and/or
# modify it under the terms of the GNU General Public License,
# version 2, as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with HPCStats. If not, see
# <http://www.gnu.org/licenses/>.
#
# On Calibre systems, the complete text of the GNU General
# Public License can be found in `/usr/share/common-licenses/GPL'.



class HPCStatsErrorsRegistry(object):

    """This class contains the full list of HPCStatsError that may occur when
       running the Importer application.

       When adding new errors in this registry, please mind to also update the
       table in doc/architecture.rst in the documentation.
    """

    # testing purpose errors

# Path: HPCStats/Errors/Error.py
# class HPCStatsError(object):
# 
#     def __init__(self, code, reason):
# 
#         self.code = code
#         self.reason = reason
# 
#     def __eq__(self, other):
# 
#         return self.code == other.code


# Path: HPCStats/Errors/Registry.py
from HPCStats.Errors.Error import HPCStatsError

# This file is part of HPCStats.
#
# HPCStats is free software: you can redistribute in and/or
# modify it under the terms of the GNU General Public License,
# version 2, as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with HPCStats. If not, see
# <http://www.gnu.org/licenses/>.
#
# On Calibre systems, the complete text of the GNU General
# Public License can be found in `/usr/share/common-licenses/GPL'.



class HPCStatsErrorsRegistry(object):

    """This class contains the full list of HPCStatsError that may occur when
       running the Importer application.

       When adding new errors in this registry, please mind to also update the
       table in doc/architecture.rst in the documentation.
    """

    # testing purpose errors

    E_T0001 = HPCStatsError('E_T0001', "Fake error 1 for testing purpose")