pub enum IrError {
SymbolError(SymbolError),
}Expand description
Errors that can occur during IR (bytecode) generation.
Variants§
SymbolError(SymbolError)
Trait Implementations§
Source§impl Error for IrError
impl Error for IrError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<IrError> for ProgramError
impl From<IrError> for ProgramError
Source§impl From<SymbolError> for IrError
impl From<SymbolError> for IrError
Source§fn from(source: SymbolError) -> Self
fn from(source: SymbolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IrError
impl RefUnwindSafe for IrError
impl Send for IrError
impl Sync for IrError
impl Unpin for IrError
impl UnwindSafe for IrError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more