pub enum AutonomyError {
Show 18 variants
SafetyStop(String),
BudgetExceeded(f64),
CircuitBreakerTripped(u32),
DiffLimitExceeded(u32),
CycleLimitReached(u32),
GitError(String),
ForgeError(String),
WebhookError(String),
ConfigError(String),
AgentError(String),
InvestigationError(String),
MergePolicyError(String),
CrashRecoveryError(String),
GpioError(String),
SchedulerError(String),
ReactorError(String),
ServiceError(String),
Other(Error),
}Expand description
Top-level error type for autonomous operations.
Variants§
SafetyStop(String)
Safety constraint triggered a stop.
BudgetExceeded(f64)
Budget limit exceeded.
CircuitBreakerTripped(u32)
Circuit breaker tripped after consecutive failures.
DiffLimitExceeded(u32)
Diff size limit exceeded.
CycleLimitReached(u32)
Maximum cycle count reached.
GitError(String)
Git operation error.
ForgeError(String)
Forge (GitHub/GitLab) operation error.
WebhookError(String)
Webhook delivery or parsing error.
ConfigError(String)
Configuration error.
AgentError(String)
Agent execution error.
InvestigationError(String)
Investigation/analysis error.
MergePolicyError(String)
Merge policy violation.
CrashRecoveryError(String)
Crash recovery error.
GpioError(String)
GPIO hardware access error.
SchedulerError(String)
Scheduler error.
ReactorError(String)
File system reactor error.
ServiceError(String)
System service management error.
Other(Error)
Other unclassified error.
Trait Implementations§
Source§impl Debug for AutonomyError
impl Debug for AutonomyError
Source§impl Display for AutonomyError
impl Display for AutonomyError
Source§impl Error for AutonomyError
impl Error for AutonomyError
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()
Auto Trait Implementations§
impl Freeze for AutonomyError
impl RefUnwindSafe for AutonomyError
impl Send for AutonomyError
impl Sync for AutonomyError
impl Unpin for AutonomyError
impl UnsafeUnpin for AutonomyError
impl UnwindSafe for AutonomyError
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