pub enum Error {
Show 18 variants
IO(String),
InvalidUnicode(OsString),
MissingTlaFileModuleName(String),
FileNotFound(PathBuf),
MissingJava,
MinimumJavaVersion(usize, usize),
NoTestFound(String),
TlaOperatorNameParseError(String),
NoTestTraceFound(PathBuf),
InvalidTLCOutput(PathBuf),
TLCFailure(String),
ApalacheFailure(ApalacheError),
InvalidApalacheCounterexample(String),
Ureq(String),
Nom(String),
JsonParseError(String),
UnrecognizedChecker(String),
UnsupportedOutputFormat(String),
}
Expand description
Set of possible errors that can occur when running modelator
.
Variants
IO(String)
An error that occurs when there’s an IO error.
InvalidUnicode(OsString)
An error that occurs when invalid unicode is encountered.
MissingTlaFileModuleName(String)
An error that occurs when a TLA file does not have a module name.
FileNotFound(PathBuf)
An error that occurs when a file is not found.
MissingJava
An error that occurs when Java
is not installed.
MinimumJavaVersion(usize, usize)
An error that occurs when the version Java
installed is too low.
NoTestFound(String)
An error that occurs when a TLA+ file representing a set of tests contains no test.
TlaOperatorNameParseError(String)
Tla operator name parse error
NoTestTraceFound(PathBuf)
An error that occurs when the model checker isn’t able to generate a test trace.
InvalidTLCOutput(PathBuf)
An error that occurs when the output of TLC is unexpected.
TLCFailure(String)
An error that occurs when the output of TLC returns an error.
ApalacheFailure(ApalacheError)
An error that occurs when the output of Apalache returns an error.
InvalidApalacheCounterexample(String)
An error that occurs when the counterexample produced by Apalache is unexpected.
Ureq(String)
An error that occurs when using the ureq
crate.
Nom(String)
An error that occurs when using the nom
crate.
JsonParseError(String)
An error that occurs when parsing a JSON value.
UnrecognizedChecker(String)
An error for unrecognized checker name.
UnsupportedOutputFormat(String)
An error for unsupported output format.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more