Skip to content

Commit c27d378

Browse files
authored
Merge pull request #14 from parker-research/add-models
feat: Add `forecast::Model` enum
2 parents ec49d76 + af3c0f6 commit c27d378

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)