snakemake.exceptions

Functions

cut_traceback(ex)

format_error(ex, lineno[, linemaps, ...])

format_traceback(tb, linemaps)

get_exception_origin(ex, linemaps)

is_file_not_found_error(exc, considered_files)

log_verbose_traceback(ex)

print_exception(ex[, linemaps])

Print an error message for a given exception.

update_lineno(ex, linemaps)

Exceptions

AmbiguousRuleException(filename, job_a, job_b)

AzureFileException(msg[, lineno, snakefile])

CacheMissException

CheckSumMismatchException(*args[, lineno, ...])

"should be called to indicate that checksum of a file compared to known hash does not match, typically done with large downloads, etc.

ChildIOException([parent, child, wildcards, ...])

CliException(msg)

ClusterJobException(job_info, jobid)

CreateCondaEnvironmentException(*args[, ...])

CreateRuleException([message, include, ...])

CyclicGraphException(repeatedrule, file[, rule])

DropboxFileException(msg[, lineno, snakefile])

FTPFileException(msg[, lineno, snakefile])

HTTPFileException(msg[, lineno, snakefile])

IOException(prefix, job, files[, include, ...])

IOFileException(msg[, lineno, snakefile])

ImproperOutputException(job, files[, ...])

ImproperShadowException(rule[, lineno, ...])

IncompleteCheckpointException(rule, targetfile)

IncompleteFilesException(files)

InputFunctionException(msg[, wildcards, ...])

LockException()

LookupError([msg, exc, query, dpath])

MissingInputException(job, files[, include, ...])

MissingOutputException([message, include, ...])

MissingRuleException(file[, lineno, snakefile])

NCBIFileException(msg[, lineno, snakefile])

NoRulesException([lineno, snakefile])

PeriodicWildcardError([message, include, ...])

ProtectedOutputException(job, files[, ...])

RemoteFileException(msg[, lineno, snakefile])

ResourceScopesException(msg, invalid_resources)

RuleException([message, include, lineno, ...])

Base class for exception occurring within the execution or definition of rules.

S3FileException(msg[, lineno, snakefile])

SFTPFileException(msg[, lineno, snakefile])

SourceFileError(msg)

SpawnedJobError

TerminatedException

UnknownRuleException(name[, prefix, lineno, ...])

WebDAVFileException(msg[, lineno, snakefile])

WildcardError(*args[, lineno, snakefile, rule])

XRootDFileException(msg[, lineno, snakefile])

ZenodoFileException(msg[, lineno, snakefile])