pub enum Error {
CompilationError(u32, String),
InternalError(String),
InvalidStage(String),
InvalidAssembly(String),
NullResultObject(String),
}
Expand description
Error.
Each enumerants has an affixed string describing detailed reasons for the error. The string can be empty in cases.
Variants§
CompilationError(u32, String)
Compilation error.
Contains the number of errors and detailed error string.
InternalError(String)
InvalidStage(String)
InvalidAssembly(String)
NullResultObject(String)
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more