1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#[derive(Fail, Debug, PartialEq, Eq, Clone, Copy)]
pub enum MetForErr {
#[fail(display = "temperature below absolute zero encountered")]
BelowAbsoluteZero,
#[fail(display = "unphysical input values")]
UnphysicalInput,
#[fail(display = "input value out of allowable range, perhaps for empirical reasons")]
InputOutOfRange,
#[fail(display = "negative pressure value encountered")]
NegativePressure,
#[fail(display = "vapor pressure greater than total pressure encountered")]
VaporPressureTooHigh,
}
pub type Result<T> = ::std::result::Result<T, MetForErr>;