Enum modelator::Error [−][src]
pub enum Error {
Show 16 variants
IO(String),
InvalidUnicode(OsString),
MissingTlaFileModuleName(String),
FileNotFound(PathBuf),
MissingJava,
MinimumJavaVersion(usize, usize),
NoTestFound(String),
NoTestTraceFound(PathBuf),
InvalidTLCOutput(PathBuf),
TLCFailure(String),
ApalacheFailure(ApalacheError),
InvalidApalacheCounterexample(String),
Ureq(String),
Nom(String),
JsonParseError(String),
UnrecognizedChecker(String),
}
Expand description
Set of possible errors that can occur when running modelator
.
Variants
An error that occurs when there’s an IO error.
Tuple Fields of IO
0: String
An error that occurs when invalid unicode is encountered.
Tuple Fields of InvalidUnicode
0: OsString
An error that occurs when a TLA file does not have a module name.
Tuple Fields of MissingTlaFileModuleName
0: String
An error that occurs when a file is not found.
Tuple Fields of FileNotFound
0: PathBuf
An error that occurs when Java
is not installed.
An error that occurs when the version Java
installed is too low.
An error that occurs when a TLA+ file representing a set of tests contains no test.
Tuple Fields of NoTestFound
0: String
An error that occurs when the model checker isn’t able to generate a test trace.
Tuple Fields of NoTestTraceFound
0: PathBuf
An error that occurs when the output of TLC is unexpected.
Tuple Fields of InvalidTLCOutput
0: PathBuf
An error that occurs when the output of TLC returns an error.
Tuple Fields of TLCFailure
0: String
An error that occurs when the output of Apalache returns an error.
Tuple Fields of ApalacheFailure
An error that occurs when the counterexample produced by Apalache is unexpected.
Tuple Fields of InvalidApalacheCounterexample
0: String
An error that occurs when using the ureq
crate.
Tuple Fields of Ureq
0: String
An error that occurs when using the nom
crate.
Tuple Fields of Nom
0: String
An error that occurs when parsing a JSON value.
Tuple Fields of JsonParseError
0: String
An error for unrecognized checker name.
Tuple Fields of UnrecognizedChecker
0: String