pub enum CodingRuntimeBuildError {
MissingProcessBackend,
DuplicateModelRole {
role: RuntimeModelRole,
},
Core(CoreError),
ProjectRules(ProjectRulesLoadError),
SkillCatalog(SkillError),
CodingProfile(CodingAgentProfileBuildError),
LoopConfig(AgentLoopConfigError),
SubagentConfig(SubagentError),
RuntimeProfileApply {
source: RuntimeError,
},
RuntimeBuild {
source: RuntimeError,
},
}Expand description
Errors raised while composing a parent coding runtime.
Variants§
MissingProcessBackend
A full coding runtime was requested without its process backend.
DuplicateModelRole
A role was configured more than once.
Fields
§
role: RuntimeModelRoleCore(CoreError)
A provider-neutral protocol value failed validation.
ProjectRules(ProjectRulesLoadError)
Project rules could not be loaded safely.
SkillCatalog(SkillError)
The skill catalog could not be loaded.
CodingProfile(CodingAgentProfileBuildError)
The coding profile was invalid.
LoopConfig(AgentLoopConfigError)
The profile’s coding loop policy was invalid.
SubagentConfig(SubagentError)
The coding profile’s child-agent model-turn bounds were invalid.
RuntimeProfileApply
Applying the profile to the runtime builder failed.
Fields
§
source: RuntimeErrorRuntimeBuild
Runtime construction or resume failed.
Fields
§
source: RuntimeErrorTrait Implementations§
Source§impl Debug for CodingRuntimeBuildError
impl Debug for CodingRuntimeBuildError
Source§impl Display for CodingRuntimeBuildError
impl Display for CodingRuntimeBuildError
Source§impl Error for CodingRuntimeBuildError
impl Error for CodingRuntimeBuildError
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<AgentLoopConfigError> for CodingRuntimeBuildError
impl From<AgentLoopConfigError> for CodingRuntimeBuildError
Source§fn from(source: AgentLoopConfigError) -> Self
fn from(source: AgentLoopConfigError) -> Self
Converts to this type from the input type.
Source§impl From<CodingAgentProfileBuildError> for CodingRuntimeBuildError
impl From<CodingAgentProfileBuildError> for CodingRuntimeBuildError
Source§fn from(source: CodingAgentProfileBuildError) -> Self
fn from(source: CodingAgentProfileBuildError) -> Self
Converts to this type from the input type.
Source§impl From<CoreError> for CodingRuntimeBuildError
impl From<CoreError> for CodingRuntimeBuildError
Source§impl From<ProjectRulesLoadError> for CodingRuntimeBuildError
impl From<ProjectRulesLoadError> for CodingRuntimeBuildError
Source§fn from(source: ProjectRulesLoadError) -> Self
fn from(source: ProjectRulesLoadError) -> Self
Converts to this type from the input type.
Source§impl From<SkillError> for CodingRuntimeBuildError
impl From<SkillError> for CodingRuntimeBuildError
Source§fn from(source: SkillError) -> Self
fn from(source: SkillError) -> Self
Converts to this type from the input type.
Source§impl From<SubagentError> for CodingRuntimeBuildError
impl From<SubagentError> for CodingRuntimeBuildError
Source§fn from(source: SubagentError) -> Self
fn from(source: SubagentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CodingRuntimeBuildError
impl !UnwindSafe for CodingRuntimeBuildError
impl Forget for CodingRuntimeBuildError
impl Freeze for CodingRuntimeBuildError
impl Move for CodingRuntimeBuildError
impl Send for CodingRuntimeBuildError
impl Sync for CodingRuntimeBuildError
impl Unpin for CodingRuntimeBuildError
impl UnsafeUnpin for CodingRuntimeBuildError
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