pub enum RuntimeError {
Show 26 variants
Io {
context: String,
source: Error,
},
ParseGraph(ParseError),
ValidateGraph(ValidationError),
Json {
context: String,
source: Error,
},
StepMissing {
step_id: String,
},
StepMissingSkill {
step_id: String,
},
InvalidRunStep {
step_id: String,
reason: String,
},
UnsupportedRunStep {
step_id: String,
run_type: String,
},
GraphBlocked {
step_id: String,
reason: String,
},
ContextEdgeUnresolved {
from_step: String,
output_path: String,
missing_segment: String,
available_keys: Vec<String>,
},
ContextEdgeBaseKey {
from_step: String,
output_path: String,
base_field: String,
},
AuthorityDenied {
verb: AuthorityVerb,
step_id: String,
reason: String,
},
GraphPlanningFailed {
step_id: String,
reason: String,
},
GraphPaused {
step_id: String,
reason: String,
sync_decision: Box<FanoutSyncDecision>,
},
GraphEscalated {
step_id: String,
reason: String,
sync_decision: Box<FanoutSyncDecision>,
},
CheckpointGraphMismatch {
checkpoint_graph: String,
graph: String,
},
UnsupportedAdapter {
adapter_type: String,
},
UnsupportedSource {
source_kind: String,
},
UnsupportedRunnerSelection {
runner: String,
},
MissingCommand,
SandboxViolation {
message: String,
},
CredentialDelivery(CredentialDeliveryError),
EffectState {
context: String,
message: String,
},
SkillFileMissing {
path: PathBuf,
},
SkillFailed {
skill_name: String,
message: String,
},
ReceiptInvalid {
message: String,
},
}Variants§
Io
ParseGraph(ParseError)
ValidateGraph(ValidationError)
Json
StepMissing
StepMissingSkill
InvalidRunStep
UnsupportedRunStep
GraphBlocked
ContextEdgeUnresolved
ContextEdgeBaseKey
AuthorityDenied
GraphPlanningFailed
GraphPaused
GraphEscalated
CheckpointGraphMismatch
UnsupportedAdapter
UnsupportedSource
UnsupportedRunnerSelection
MissingCommand
SandboxViolation
CredentialDelivery(CredentialDeliveryError)
EffectState
SkillFileMissing
SkillFailed
ReceiptInvalid
Trait Implementations§
Source§impl Debug for RuntimeError
impl Debug for RuntimeError
Source§impl Display for RuntimeError
impl Display for RuntimeError
Source§impl Error for RuntimeError
impl Error for RuntimeError
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<CredentialDeliveryError> for RuntimeError
impl From<CredentialDeliveryError> for RuntimeError
Source§fn from(source: CredentialDeliveryError) -> Self
fn from(source: CredentialDeliveryError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for RuntimeError
impl From<ParseError> for RuntimeError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeError> for ApprovalError
impl From<RuntimeError> for ApprovalError
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeError> for DevError
impl From<RuntimeError> for DevError
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> 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<RuntimeError> for OrchestratorError
impl From<RuntimeError> for OrchestratorError
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeError> for SkillRunError
impl From<RuntimeError> for SkillRunError
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Converts to this type from the input type.
Source§impl From<ValidationError> for RuntimeError
impl From<ValidationError> for RuntimeError
Source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeError
impl !UnwindSafe for RuntimeError
impl Freeze for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl UnsafeUnpin for RuntimeError
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