def generate_latex_error(error_msg):
    s = """\\PackageError{vistrails}{ An error occurred when executing vistrails. \\MessageBreak
%s
}{vistrails}""" % error_msg
    return s
    
###############################################################################
generate_latex_error(error_msg: str) -> str
dataset/ETHPy150Open VisTrails/VisTrails/extensions/latex/includecrowdlabs.py/generate_latex_error