pub enum Error {
Usage(String),
Environment(String),
Stage(String),
VtreeSpec(String),
Input(String),
Artifact(String),
Incomplete(String),
}Expand description
Everything that stops a run before it has an answer.
The variant is the failure class, which fixes the status the binary exits
with and the name the run record gives it (Error::kind). The string
says what went wrong, in words an operator can act on;
Display prints it, and the binary prints it on
stderr after error: .
Variants§
Usage(String)
An option is contradictory, or inert in the mode this run resolved to.
Environment(String)
An environment setting is invalid, or is set where this run would ignore it.
Stage(String)
A preprocessing frontend or a compile stage failed.
VtreeSpec(String)
The requested vtree spec cannot serve this run.
Input(String)
The input could not be opened or read, or does not describe a formula.
Artifact(String)
An artifact the run was asked to write could not be produced.
Incomplete(String)
The run ended without a count: it reached its time limit, or every compile and recovery path gave up. The stage that gave up says on stderr what stopped it; the message says which of these ended the run.