Enum statrs::StatsError [] [src]

pub enum StatsError {
    BadParams,
    ArgMustBePositive(&'static str),
    ArgNotNegative(&'static str),
    ArgIntervalIncl(&'static strf64f64),
    ArgIntervalExcl(&'static strf64f64),
    ArgIntervalExclMin(&'static strf64f64),
    ArgIntervalExclMax(&'static strf64f64),
    ArgGt(&'static strf64),
    ArgGte(&'static strf64),
    ArgLt(&'static strf64),
    ArgLte(&'static strf64),
    ContainersMustBeSameLength,
}

Enumeration of possible errors thrown within the statrs library

Variants

Generic bad input parameter error

An argument should have been positive and was not

An argument should have been non-negative and was not

An argument should have fallen between an inclusive range but didn't

An argument should have fallen between an exclusive range but didn't

An argument should have fallen in a range excluding the min but didn't

An argument should have falled in a range excluding the max but didn't

An argument must have been greater than a value but wasn't

An argument must have been greater than or equal to a value but wasn't

An argument must have been less than a value but wasn't

An argument must have been less than or equal to a value but wasn't

Vectors of the same length were expected

Trait Implementations

impl Debug for StatsError
[src]

Formats the value using the given formatter.

impl Error for StatsError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for StatsError
[src]

Formats the value using the given formatter.