pub enum ErrorCode {
ToolchainMissing,
ToolchainMismatch,
HlsMismatch,
SystemDepMissing,
SolverFailure,
BuildFailure,
ConfigError,
IoError,
CommandFailed,
LockError,
}Expand description
Error codes for categorizing failures.
Variants§
ToolchainMissing
Tool not found in PATH
ToolchainMismatch
Wrong version of a tool
HlsMismatch
HLS version doesn’t match GHC
SystemDepMissing
Native library not found
SolverFailure
Package resolution failed
BuildFailure
Compilation error
ConfigError
Invalid configuration
IoError
I/O error
CommandFailed
Command execution failed
LockError
Lock file error
Trait Implementations§
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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