pub enum DistributionError {
InvalidParameters(Box<dyn Error + Send + Sync>),
MatrixError(MatrixError),
KernelError(KernelError),
InvalidRestoreVector,
Others(Box<dyn Error + Send + Sync>),
}
Variants§
InvalidParameters(Box<dyn Error + Send + Sync>)
MatrixError(MatrixError)
KernelError(KernelError)
InvalidRestoreVector
Others(Box<dyn Error + Send + Sync>)
Trait Implementations§
source§impl Debug for DistributionError
impl Debug for DistributionError
source§impl Display for DistributionError
impl Display for DistributionError
source§impl Error for DistributionError
impl Error for DistributionError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<KernelError> for DistributionError
impl From<KernelError> for DistributionError
source§fn from(e: KernelError) -> Self
fn from(e: KernelError) -> Self
Converts to this type from the input type.
source§impl From<MatrixError> for DistributionError
impl From<MatrixError> for DistributionError
source§fn from(e: MatrixError) -> Self
fn from(e: MatrixError) -> Self
Converts to this type from the input type.