pub enum CoreError {
Show 28 variants
ComputationError(ErrorContext),
DomainError(ErrorContext),
DispatchError(ErrorContext),
ConvergenceError(ErrorContext),
DimensionError(ErrorContext),
ShapeError(ErrorContext),
IndexError(ErrorContext),
ValueError(ErrorContext),
TypeError(ErrorContext),
NotImplementedError(ErrorContext),
ImplementationError(ErrorContext),
MemoryError(ErrorContext),
ConfigError(ErrorContext),
InvalidArgument(ErrorContext),
PermissionError(ErrorContext),
ValidationError(ErrorContext),
JITError(ErrorContext),
JSONError(ErrorContext),
IoError(ErrorContext),
SchedulerError(ErrorContext),
TimeoutError(ErrorContext),
CompressionError(ErrorContext),
InvalidShape(ErrorContext),
DeviceError(ErrorContext),
MutexError(ErrorContext),
ThreadError(ErrorContext),
StreamError(ErrorContext),
EndOfStream(ErrorContext),
}
Expand description
Core error type for SciRS2
Variants§
ComputationError(ErrorContext)
Computation error (generic error)
DomainError(ErrorContext)
Domain error (input outside valid domain)
DispatchError(ErrorContext)
Dispatch error (array protocol dispatch failed)
ConvergenceError(ErrorContext)
Convergence error (algorithm did not converge)
DimensionError(ErrorContext)
Dimension mismatch error
ShapeError(ErrorContext)
Shape error (matrices/arrays have incompatible shapes)
IndexError(ErrorContext)
Out of bounds error
ValueError(ErrorContext)
Value error (invalid value)
TypeError(ErrorContext)
Type error (invalid type)
NotImplementedError(ErrorContext)
Not implemented error
ImplementationError(ErrorContext)
Implementation error (method exists but not fully implemented yet)
MemoryError(ErrorContext)
Memory error (could not allocate memory)
ConfigError(ErrorContext)
Configuration error (invalid configuration)
InvalidArgument(ErrorContext)
Invalid argument error
PermissionError(ErrorContext)
Permission error (insufficient permissions)
ValidationError(ErrorContext)
Validation error (input failed validation)
JITError(ErrorContext)
JIT compilation error (error during JIT compilation)
JSONError(ErrorContext)
JSON error
IoError(ErrorContext)
IO error
SchedulerError(ErrorContext)
Scheduler error (error in work-stealing scheduler)
TimeoutError(ErrorContext)
Timeout error (operation timed out)
CompressionError(ErrorContext)
Compression error (error during compression/decompression)
InvalidShape(ErrorContext)
Invalid shape error (array shape is invalid)
DeviceError(ErrorContext)
Device error (GPU/hardware device error)
MutexError(ErrorContext)
Mutex error (mutex poisoning or lock error)
ThreadError(ErrorContext)
Thread error (threading error)
StreamError(ErrorContext)
Stream error (streaming operation error)
EndOfStream(ErrorContext)
End of stream error (stream ended unexpectedly)
Trait Implementations§
Source§impl Error for CoreError
impl Error for CoreError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<CoreError> for OperationError
impl From<CoreError> for OperationError
Source§impl From<OperationError> for CoreError
Convert from OperationError to CoreError
impl From<OperationError> for CoreError
Convert from OperationError to CoreError
Source§fn from(err: OperationError) -> Self
fn from(err: OperationError) -> Self
Auto Trait Implementations§
impl Freeze for CoreError
impl RefUnwindSafe for CoreError
impl Send for CoreError
impl Sync for CoreError
impl Unpin for CoreError
impl UnwindSafe for CoreError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more