:param str|unicode error: Syntax error from TryHaskell.
        :rtype: TryHaskell.Result

def _bad_result(cls, error):
        """
        :param str|unicode error: Syntax error from TryHaskell.
        :rtype: TryHaskell.Result
        """
        return cls.Result(ok=False, expr='', files={}, stdout='', type='', value=error)