<gh_stars>0

class Error(Exception):
    """Base class for exceptions in this module."""
    pass

class GafferError(Error):
    """Exception raised for errors in the input.

    Attributes:
        message -- explanation of the error
    """
    def __init__(self, message):
        self.message = message

    def __str__(self):
        return self.message


class Error(Exception):
    """Base class for exceptions in this module."""
    pass

class GafferError(Error):
    """Exception raised for errors in the input.

    Attributes:
        message -- explanation of the error
    """
    def __init__(self, message):
        self.message = message

    def __str__(self):
        return self.message
Base class for exceptions in this module. Exception raised for errors in the input.      Attributes:         message -- explanation of the error