ScirsError

Type Alias ScirsError 

Source
pub type ScirsError = CoreError;

Aliased Type§

pub enum ScirsError {
Show 34 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), AllocationError(ErrorContext), ConfigError(ErrorContext), InvalidArgument(ErrorContext), InvalidInput(ErrorContext), PermissionError(ErrorContext), ValidationError(ErrorContext), InvalidState(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), ResourceError(ErrorContext), CommunicationError(ErrorContext), SecurityError(ErrorContext),
}

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)

§

AllocationError(ErrorContext)

Allocation error (memory allocation failed)

§

ConfigError(ErrorContext)

Configuration error (invalid configuration)

§

InvalidArgument(ErrorContext)

Invalid argument error

§

InvalidInput(ErrorContext)

Invalid input error

§

PermissionError(ErrorContext)

Permission error (insufficient permissions)

§

ValidationError(ErrorContext)

Validation error (input failed validation)

§

InvalidState(ErrorContext)

Invalid state error (object is in an invalid state)

§

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)

§

ResourceError(ErrorContext)

Resource error (insufficient or unavailable resources)

§

CommunicationError(ErrorContext)

Communication error (network or inter-process communication error)

§

SecurityError(ErrorContext)

Security error (authentication, authorization, or security-related error)