pub enum PertError {
RangeTooSmall,
ModeRange,
ShapeTooSmall,
}
Error type returned from Pert
constructors.
max < min
or min
or max
is NaN.
mode < min
or mode > max
or mode
is NaN.
shape < 0
or shape
is NaN
[+] Show hidden undocumented itemsThe lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (backtrace
)
Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting