INNER CODE UNIT · Python

NewlineError

snakemake/snakefmt · snakefmt/exceptions.py:25

def NewlineError(line_nb: str, keyword_line: str):
    raise SyntaxError((f"{line_nb}Newline expected after keyword " f"'{keyword_line}'"))


def SyntaxFormError(line_nb: str, keyword_line: str, syntax_form: str):
    raise SyntaxError(f"{line_nb}'{keyword_line}' not of form '{syntax_form}'")


class InvalidParameterSyntax(Exception):
    pass


class InvalidParameter(Exception):
    pass


class NoParametersError(Exception):
    pass

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…