Previous topic

disco.func — Functions for constructing Disco jobs

Next topic

disco.modutil — Parse and find module dependencies

This Page

disco.error – Errors with special meaning in Disco

exception disco.error.CommError(msg, url, code=None)
An error caused by the inability to access a resource over the network.
exception disco.error.DataError(msg, url, code=None)

An error caused by an inability to access a data resource.

These errors are treated specially by Disco master in that they are assumed to be recoverable. If Disco thinks an error is recoverable, it will retry the task on another node.

exception disco.error.DiscoError
The base class for all Disco errors
exception disco.error.JobError(error, master=None, jobname=None)

An error that occurs when a client submits or interacts with a Disco job.

msg
Error message.
name
Name of the failed job.
master
Address of the Disco master that produced the error.
exception disco.error.ModUtilImportError(error, function)
An error raised by disco.modutil when it can’t find a module.