<filename>Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/smodels/theory/exceptions.py
"""
.. module:: experiment.exceptions
   :synopsis: Contains exceptions for SModelS's theory package.

.. moduleauthor:: <NAME> <<EMAIL>>

"""


class SModelSTheoryError(Exception):
    """
    Class to define SModelS specific errors
    """
    
    def __init__(self, value=None):
        self.value = value
        Exception.__init__(self, value)
        
    def __str__(self):
        return repr(self.value)
<filename>Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/smodels/theory/exceptions.py
"""
.. module:: experiment.exceptions
   :synopsis: Contains exceptions for SModelS's theory package.

.. moduleauthor:: <NAME> <<EMAIL>>

"""


class SModelSTheoryError(Exception):
    """
    Class to define SModelS specific errors
    """
    
    def __init__(self, value=None):
        self.value = value
        Exception.__init__(self, value)
        
    def __str__(self):
        return repr(self.value)
.. module:: experiment.exceptions    :synopsis: Contains exceptions for SModelS's theory package.  .. moduleauthor:: <NAME> <<EMAIL>> Class to define SModelS specific errors