Skip to main content

RuntimeError

Enum RuntimeError 

Source
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

Fields

§context: String
§source: Error
§

ParseGraph(ParseError)

§

ValidateGraph(ValidationError)

§

Json

Fields

§context: String
§source: Error
§

StepMissing

Fields

§step_id: String
§

StepMissingSkill

Fields

§step_id: String
§

InvalidRunStep

Fields

§step_id: String
§reason: String
§

UnsupportedRunStep

Fields

§step_id: String
§run_type: String
§

GraphBlocked

Fields

§step_id: String
§reason: String
§

ContextEdgeUnresolved

Fields

§from_step: String
§output_path: String
§missing_segment: String
§available_keys: Vec<String>
§

ContextEdgeBaseKey

Fields

§from_step: String
§output_path: String
§base_field: String
§

AuthorityDenied

Fields

§step_id: String
§reason: String
§

GraphPlanningFailed

Fields

§step_id: String
§reason: String
§

GraphPaused

Fields

§step_id: String
§reason: String
§sync_decision: Box<FanoutSyncDecision>
§

GraphEscalated

Fields

§step_id: String
§reason: String
§sync_decision: Box<FanoutSyncDecision>
§

CheckpointGraphMismatch

Fields

§checkpoint_graph: String
§graph: String
§

UnsupportedAdapter

Fields

§adapter_type: String
§

UnsupportedSource

Fields

§source_kind: String
§

UnsupportedRunnerSelection

Fields

§runner: String
§

MissingCommand

§

SandboxViolation

Fields

§message: String
§

CredentialDelivery(CredentialDeliveryError)

§

EffectState

Fields

§context: String
§message: String
§

SkillFileMissing

Fields

§path: PathBuf
§

SkillFailed

Fields

§skill_name: String
§message: String
§

ReceiptInvalid

Fields

§message: String

Trait Implementations§

Source§

impl Debug for RuntimeError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for RuntimeError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for RuntimeError

Source§

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

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<CredentialDeliveryError> for RuntimeError

Source§

fn from(source: CredentialDeliveryError) -> Self

Converts to this type from the input type.
Source§

impl From<ParseError> for RuntimeError

Source§

fn from(source: ParseError) -> Self

Converts to this type from the input type.
Source§

impl From<RuntimeError> for ApprovalError

Source§

fn from(source: RuntimeError) -> Self

Converts to this type from the input type.
Source§

impl From<RuntimeError> for DevError

Source§

fn from(source: RuntimeError) -> Self

Converts to this type from the input type.
Source§

impl From<RuntimeError> for HarnessReplayError

Source§

fn from(source: RuntimeError) -> Self

Converts to this type from the input type.
Source§

impl From<RuntimeError> for OrchestratorError

Source§

fn from(source: RuntimeError) -> Self

Converts to this type from the input type.
Source§

impl From<RuntimeError> for SkillRunError

Source§

fn from(source: RuntimeError) -> Self

Converts to this type from the input type.
Source§

impl From<ValidationError> for RuntimeError

Source§

fn from(source: ValidationError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.