@staticmethod
def concat(x, y):
    """
        Returns the first value that is not an Exception,
        else returns the last Exception.
        
        Arguments:
        x -- the first value
        y -- the second value
        """
    if not isinstance(x, Exception):
        return x
    else:
        return y
