Enum rant::compiler::CompilerError
source · [−]pub enum CompilerError {
SyntaxError,
IOError(IOErrorKind),
}
Expand description
Describes why a compilation failed.
Variants
SyntaxError
Compilation failed due to one or more syntax errors.
IOError(IOErrorKind)
Compilation failed due to a file I/O error.
Trait Implementations
The lower-level source of this error, if any. Read more
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()