Enum rant::ModuleLoadErrorReason
source ·
[−]pub enum ModuleLoadErrorReason {
NotAllowed,
NotFound,
CompileFailed(Vec<CompilerMessage>),
FileIOError(ErrorKind),
}
Expand description
Represents the reason for which a Rant module failed to load.
Variants
NotAllowed
The module could not load because the calling context has module loading disabled.
NotFound
The module was not found.
CompileFailed(Vec<CompilerMessage>)
Tuple Fields
0: Vec<CompilerMessage>
The module could not be compiled.
FileIOError(ErrorKind)
Tuple Fields
0: ErrorKind
The module could not load due to a file I/O error.