pub enum ConsciousnessError {
PhiNonConvergence {
iterations: usize,
current: f64,
delta: f64,
},
NumericalInstability {
partition: usize,
detail: String,
},
BudgetExhausted {
reason: String,
elapsed: Duration,
},
InvalidInput(ValidationError),
SystemTooLarge {
n: usize,
max: usize,
},
}Expand description
Primary error type for consciousness computations.
Variants§
PhiNonConvergence
Φ computation did not converge within budget.
NumericalInstability
Numerical instability (NaN/Inf in matrix operations).
BudgetExhausted
Compute budget exhausted.
InvalidInput(ValidationError)
Invalid input.
SystemTooLarge
System too large for exact computation.
Trait Implementations§
Source§impl Debug for ConsciousnessError
impl Debug for ConsciousnessError
Source§impl Display for ConsciousnessError
impl Display for ConsciousnessError
Source§impl Error for ConsciousnessError
impl Error for ConsciousnessError
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<ValidationError> for ConsciousnessError
impl From<ValidationError> for ConsciousnessError
Source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConsciousnessError
impl RefUnwindSafe for ConsciousnessError
impl Send for ConsciousnessError
impl Sync for ConsciousnessError
impl Unpin for ConsciousnessError
impl UnsafeUnpin for ConsciousnessError
impl UnwindSafe for ConsciousnessError
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