pub struct SoilError {
pub kind: PanicKind,
pub message: String,
pub trace: Vec<TraceFrame>,
pub inputs: Option<String>,
}Expand description
A structured runtime error — the debug-mode payload of the host-stub rule (design §3.11): kind, message, definition-level trace, and the offending inputs as canonical JSON when available.
Fields§
§kind: PanicKind§message: String§trace: Vec<TraceFrame>§inputs: Option<String>Canonical-JSON rendering of the inputs that provoked the error, when the failing operation had them at hand.
Implementations§
Trait Implementations§
Source§impl Error for SoilError
impl Error for SoilError
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()
impl Eq for SoilError
impl StructuralPartialEq for SoilError
Auto Trait Implementations§
impl Freeze for SoilError
impl RefUnwindSafe for SoilError
impl Send for SoilError
impl Sync for SoilError
impl Unpin for SoilError
impl UnsafeUnpin for SoilError
impl UnwindSafe for SoilError
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