pub enum HarnessReplayError {
Fixture(HarnessFixtureError),
Runtime(RuntimeError),
TargetWithoutParent {
target: PathBuf,
},
Mismatch {
field: &'static str,
expected: String,
actual: String,
},
ExpectationFailed {
message: String,
receipt_id: String,
disposition: String,
reason_code: String,
summary: String,
skill_stdout: String,
skill_stderr: String,
},
ReceiptDigest {
message: String,
},
ReceiptProofInvalid {
receipt_id: String,
findings: String,
},
UnsupportedFixtureMode {
mode: String,
field_path: String,
},
InvalidReplayMetadata {
field: String,
message: String,
},
CliToolFeatureDisabled,
}Variants§
Fixture(HarnessFixtureError)
Runtime(RuntimeError)
TargetWithoutParent
Mismatch
ExpectationFailed
Fields
ReceiptDigest
ReceiptProofInvalid
UnsupportedFixtureMode
InvalidReplayMetadata
CliToolFeatureDisabled
Trait Implementations§
Source§impl Debug for HarnessReplayError
impl Debug for HarnessReplayError
Source§impl Display for HarnessReplayError
impl Display for HarnessReplayError
Source§impl Error for HarnessReplayError
impl Error for HarnessReplayError
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<HarnessFixtureError> for HarnessReplayError
impl From<HarnessFixtureError> for HarnessReplayError
Source§fn from(source: HarnessFixtureError) -> Self
fn from(source: HarnessFixtureError) -> Self
Converts to this type from the input type.
Source§impl From<HarnessReplayError> for OrchestratorError
impl From<HarnessReplayError> for OrchestratorError
Source§fn from(source: HarnessReplayError) -> Self
fn from(source: HarnessReplayError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeError> for HarnessReplayError
impl From<RuntimeError> for HarnessReplayError
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Converts to this type from the input type.
Source§impl From<SkillRunError> for HarnessReplayError
impl From<SkillRunError> for HarnessReplayError
Source§fn from(error: SkillRunError) -> Self
fn from(error: SkillRunError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for HarnessReplayError
impl !UnwindSafe for HarnessReplayError
impl Freeze for HarnessReplayError
impl Send for HarnessReplayError
impl Sync for HarnessReplayError
impl Unpin for HarnessReplayError
impl UnsafeUnpin for HarnessReplayError
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