Skip to content

Commit af3c0f6

Browse files
feat: add Model enum
1 parent 997cb8b commit af3c0f6

2 files changed

Lines changed: 440 additions & 2 deletions

File tree

src/errors.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ pub enum ConversionError {
2020
#[snafu(display("Invalid precipitation unit '{unit}'"))]
2121
InvalidPrecipitationUnit { unit: String },
2222

23+
#[snafu(display("Invalid model '{model}'"))]
24+
InvalidModel { model: String },
25+
2326
#[snafu(display("Invalid cell selection '{selection}'"))]
2427
InvalidCellSelection { selection: String },
2528
}

0 commit comments

Comments
 (0)