pub struct ScriptError {
pub step: usize,
pub tactic: Option<TacticStep>,
pub error: TacticError,
}Expand description
A script’s failure: the step, by position and as written, and why; no step when the script ran to its end and the proof is not done.
Fields§
§step: usize§tactic: Option<TacticStep>§error: TacticErrorTrait Implementations§
Source§impl Debug for ScriptError
impl Debug for ScriptError
Source§impl Display for ScriptError
impl Display for ScriptError
Source§impl Error for ScriptError
impl Error for ScriptError
1.30.0 · 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<ScriptError> for InterfaceError
impl From<ScriptError> for InterfaceError
Source§fn from(e: ScriptError) -> Self
fn from(e: ScriptError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ScriptError
impl RefUnwindSafe for ScriptError
impl Send for ScriptError
impl Sync for ScriptError
impl Unpin for ScriptError
impl UnsafeUnpin for ScriptError
impl UnwindSafe for ScriptError
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