From 46e3448f15a200311c455953ea72e5b3869b28f9 Mon Sep 17 00:00:00 2001 From: James Batchelor Date: Mon, 24 Jun 2024 11:14:28 +0100 Subject: [PATCH] chore: remove unused error --- pywr-schema/src/timeseries/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/pywr-schema/src/timeseries/mod.rs b/pywr-schema/src/timeseries/mod.rs index bcbd275f..90c216f2 100644 --- a/pywr-schema/src/timeseries/mod.rs +++ b/pywr-schema/src/timeseries/mod.rs @@ -38,8 +38,6 @@ pub enum TimeseriesError { TimeseriesUnparsableFileFormat { provider: String, path: String }, #[error("A scenario group with name '{0}' was not found")] ScenarioGroupNotFound(String), - #[error("Duration could not be represented as nanoseconds")] - NoDurationNanoSeconds, #[error("The length of the resampled timeseries dataframe '{0}' does not match the number of model timesteps.")] DataFrameTimestepMismatch(String), #[error("A timeseries dataframe with the name '{0}' already exists.")]