pub struct InstructionError {
pub instruction: Instruction,
pub error_kind: InstructionErrorKind,
}
Expand description
Structure to represent the errors for instructions.
Fields§
§instruction: Instruction
The instruction that raises the error.
error_kind: InstructionErrorKind
The error kind.
Trait Implementations§
source§impl Debug for InstructionError
impl Debug for InstructionError
source§impl Display for InstructionError
impl Display for InstructionError
source§impl Error for InstructionError
impl Error for InstructionError
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
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()