From 50e9c504327f1e08975cce4a9075f91ee8fa39a3 Mon Sep 17 00:00:00 2001 From: smellilac Date: Fri, 26 Jul 2024 16:28:29 +0300 Subject: [PATCH 01/15] Added new errors --- .../Errors/BulkQueriesNotSupported.cs | 22 +++++++++++++++++++ src/Weatherstack/Errors/Forbidden.cs | 22 +++++++++++++++++++ .../Errors/ForecastDaysNotSupported.cs | 22 +++++++++++++++++++ .../Errors/HistoricalQueriesNotSupported.cs | 22 +++++++++++++++++++ .../Errors/HistoricalTimeFrameTooLong.cs | 22 +++++++++++++++++++ .../Errors/InvalidForecastDays.cs | 22 +++++++++++++++++++ .../Errors/InvalidHistoricalDate.cs | 22 +++++++++++++++++++ .../Errors/InvalidHistoricalTimeFrame.cs | 22 +++++++++++++++++++ src/Weatherstack/Errors/InvalidInterval.cs | 22 +++++++++++++++++++ src/Weatherstack/Errors/InvalidLanguage.cs | 22 +++++++++++++++++++ src/Weatherstack/Errors/InvalidUnit.cs | 22 +++++++++++++++++++ .../Errors/MissingHistoricalDate.cs | 22 +++++++++++++++++++ src/Weatherstack/Errors/MissingQuery.cs | 22 +++++++++++++++++++ src/Weatherstack/Errors/RequestFailed.cs | 22 +++++++++++++++++++ 14 files changed, 308 insertions(+) create mode 100644 src/Weatherstack/Errors/BulkQueriesNotSupported.cs create mode 100644 src/Weatherstack/Errors/Forbidden.cs create mode 100644 src/Weatherstack/Errors/ForecastDaysNotSupported.cs create mode 100644 src/Weatherstack/Errors/HistoricalQueriesNotSupported.cs create mode 100644 src/Weatherstack/Errors/HistoricalTimeFrameTooLong.cs create mode 100644 src/Weatherstack/Errors/InvalidForecastDays.cs create mode 100644 src/Weatherstack/Errors/InvalidHistoricalDate.cs create mode 100644 src/Weatherstack/Errors/InvalidHistoricalTimeFrame.cs create mode 100644 src/Weatherstack/Errors/InvalidInterval.cs create mode 100644 src/Weatherstack/Errors/InvalidLanguage.cs create mode 100644 src/Weatherstack/Errors/InvalidUnit.cs create mode 100644 src/Weatherstack/Errors/MissingHistoricalDate.cs create mode 100644 src/Weatherstack/Errors/MissingQuery.cs create mode 100644 src/Weatherstack/Errors/RequestFailed.cs diff --git a/src/Weatherstack/Errors/BulkQueriesNotSupported.cs b/src/Weatherstack/Errors/BulkQueriesNotSupported.cs new file mode 100644 index 0000000..0c1827d --- /dev/null +++ b/src/Weatherstack/Errors/BulkQueriesNotSupported.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that bulk queries are not supported on the current subscription plan. + /// + public static ApiError BulkQueriesNotSupported => new() + { + Code = 604, + Type = "604_bulk_queries_not_supported_on_plan", + Information = "Bulk queries are not supported on the current subscription plan." + }; +} diff --git a/src/Weatherstack/Errors/Forbidden.cs b/src/Weatherstack/Errors/Forbidden.cs new file mode 100644 index 0000000..ed58ad9 --- /dev/null +++ b/src/Weatherstack/Errors/Forbidden.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Access is denied because the current subscription plan does not support the requested API function or HTTPS access. + /// + public static ApiError Forbidden => new() + { + Code = 403, + Type = "forbidden", + Information = "The user's current subscription plan does not support this API function / HTTPS." + }; +} diff --git a/src/Weatherstack/Errors/ForecastDaysNotSupported.cs b/src/Weatherstack/Errors/ForecastDaysNotSupported.cs new file mode 100644 index 0000000..9068579 --- /dev/null +++ b/src/Weatherstack/Errors/ForecastDaysNotSupported.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that weather forecast data is not supported on the current subscription plan. + /// + public static ApiError ForecastDaysNotSupported => new() + { + Code = 609, + Type = "609_forecast_days_not_supported_on_plan", + Information = "Weather forecast data is not supported on the current subscription plan." + }; +} diff --git a/src/Weatherstack/Errors/HistoricalQueriesNotSupported.cs b/src/Weatherstack/Errors/HistoricalQueriesNotSupported.cs new file mode 100644 index 0000000..f50f7e7 --- /dev/null +++ b/src/Weatherstack/Errors/HistoricalQueriesNotSupported.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that historical data is not supported on the current subscription plan. + /// + public static ApiError HistoricalQueriesNotSupported => new() + { + Code = 603, + Type = "603_historical_queries_not_supported_on_plan", + Information = "Historical data is not supported on the current subscription plan." + }; +} diff --git a/src/Weatherstack/Errors/HistoricalTimeFrameTooLong.cs b/src/Weatherstack/Errors/HistoricalTimeFrameTooLong.cs new file mode 100644 index 0000000..87471ee --- /dev/null +++ b/src/Weatherstack/Errors/HistoricalTimeFrameTooLong.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that the specified historical time frame exceeds the maximum allowed limit of 60 days. + /// + public static ApiError HistoricalTimeFrameTooLong => new() + { + Code = 613, + Type = "613_historical_time_frame_too_long", + Information = "The specified historical time frame is too long. (Maximum: 60 days)" + }; +} diff --git a/src/Weatherstack/Errors/InvalidForecastDays.cs b/src/Weatherstack/Errors/InvalidForecastDays.cs new file mode 100644 index 0000000..1c8eca7 --- /dev/null +++ b/src/Weatherstack/Errors/InvalidForecastDays.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that an invalid value was specified for the number of forecast days. + /// + public static ApiError InvalidForecastDays => new() + { + Code = 608, + Type = "608_invalid_forecast_days", + Information = "An invalid forecast days value was specified." + }; +} diff --git a/src/Weatherstack/Errors/InvalidHistoricalDate.cs b/src/Weatherstack/Errors/InvalidHistoricalDate.cs new file mode 100644 index 0000000..b128348 --- /dev/null +++ b/src/Weatherstack/Errors/InvalidHistoricalDate.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that the specified historical date is invalid. + /// + public static ApiError InvalidHistoricalDate => new() + { + Code = 611, + Type = "611_invalid_historical_date", + Information = "An invalid historical date was specified." + }; +} diff --git a/src/Weatherstack/Errors/InvalidHistoricalTimeFrame.cs b/src/Weatherstack/Errors/InvalidHistoricalTimeFrame.cs new file mode 100644 index 0000000..a7d31d7 --- /dev/null +++ b/src/Weatherstack/Errors/InvalidHistoricalTimeFrame.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that the specified historical time frame is invalid. + /// + public static ApiError InvalidHistoricalTimeFrame => new() + { + Code = 612, + Type = "612_invalid_historical_time_frame", + Information = "An invalid historical time frame was specified." + }; +} diff --git a/src/Weatherstack/Errors/InvalidInterval.cs b/src/Weatherstack/Errors/InvalidInterval.cs new file mode 100644 index 0000000..ef81f0e --- /dev/null +++ b/src/Weatherstack/Errors/InvalidInterval.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that the specified interval value is invalid + /// + public static ApiError InvalidInterval => new() + { + Code = 607, + Type = "607_invalid_interval", + Information = "An invalid interval value was specified." + }; +} diff --git a/src/Weatherstack/Errors/InvalidLanguage.cs b/src/Weatherstack/Errors/InvalidLanguage.cs new file mode 100644 index 0000000..b3e04a1 --- /dev/null +++ b/src/Weatherstack/Errors/InvalidLanguage.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that the specified language code is invalid. + /// + public static ApiError InvalidLanguage => new() + { + Code = 605, + Type = "605_invalid_language", + Information = "An invalid language code was specified." + }; +} diff --git a/src/Weatherstack/Errors/InvalidUnit.cs b/src/Weatherstack/Errors/InvalidUnit.cs new file mode 100644 index 0000000..b3e013d --- /dev/null +++ b/src/Weatherstack/Errors/InvalidUnit.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that the specified unit value is invalid. + /// + public static ApiError InvalidUnit => new() + { + Code = 606, + Type = "606_invalid_unit", + Information = "An invalid unit value was specified." + }; +} \ No newline at end of file diff --git a/src/Weatherstack/Errors/MissingHistoricalDate.cs b/src/Weatherstack/Errors/MissingHistoricalDate.cs new file mode 100644 index 0000000..7d78827 --- /dev/null +++ b/src/Weatherstack/Errors/MissingHistoricalDate.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that a historical date is missing. + /// + public static ApiError MissingHistoricalDate => new() + { + Code = 614, + Type = "614_missing_historical_date", + Information = "An invalid historical date was specified." + }; +} diff --git a/src/Weatherstack/Errors/MissingQuery.cs b/src/Weatherstack/Errors/MissingQuery.cs new file mode 100644 index 0000000..0f76760 --- /dev/null +++ b/src/Weatherstack/Errors/MissingQuery.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that a required query value is missing. + /// + public static ApiError MissingQuery => new() + { + Code = 601, + Type = "601_missing_query", + Information = "An invalid (or missing) query value was specified." + }; +} diff --git a/src/Weatherstack/Errors/RequestFailed.cs b/src/Weatherstack/Errors/RequestFailed.cs new file mode 100644 index 0000000..6ac0383 --- /dev/null +++ b/src/Weatherstack/Errors/RequestFailed.cs @@ -0,0 +1,22 @@ +// Copyright (c) 2024 tacosontitan +// This file is part of the Weatherstack project, which is distributed under the MIT license. +// See LICENSE for more information. + +/* + The folder containing this file is not intended to be a part of the + namespace, it is purely for organizational purposes. +*/ + +namespace Weatherstack.Errors; +public static partial class Errors +{ + /// + /// Indicates that the API request has failed. + /// + public static ApiError RequestFailed => new() + { + Code = 615, + Type = "615_request_failed", + Information = "API request has failed." + }; +} From a06122aac43eb4ab3a53841e28fa305a6b6748b9 Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:34:30 -0500 Subject: [PATCH 02/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/BulkQueriesNotSupported.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/BulkQueriesNotSupported.cs b/src/Weatherstack/Errors/BulkQueriesNotSupported.cs index 0c1827d..547d8c6 100644 --- a/src/Weatherstack/Errors/BulkQueriesNotSupported.cs +++ b/src/Weatherstack/Errors/BulkQueriesNotSupported.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From 82c8900caf24076b9e9af6bfd63f75a928bdc034 Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:35:01 -0500 Subject: [PATCH 03/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/Forbidden.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/Forbidden.cs b/src/Weatherstack/Errors/Forbidden.cs index ed58ad9..a496ceb 100644 --- a/src/Weatherstack/Errors/Forbidden.cs +++ b/src/Weatherstack/Errors/Forbidden.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From 6f89ff351694c9bdbfc6b5d6f6e5c3c75a576a4c Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:35:31 -0500 Subject: [PATCH 04/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/ForecastDaysNotSupported.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/ForecastDaysNotSupported.cs b/src/Weatherstack/Errors/ForecastDaysNotSupported.cs index 9068579..4df6b08 100644 --- a/src/Weatherstack/Errors/ForecastDaysNotSupported.cs +++ b/src/Weatherstack/Errors/ForecastDaysNotSupported.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From 4fe28b99ce2122cae08f1b66736d79f9ff36f15c Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:39:14 -0500 Subject: [PATCH 05/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/HistoricalQueriesNotSupported.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/HistoricalQueriesNotSupported.cs b/src/Weatherstack/Errors/HistoricalQueriesNotSupported.cs index f50f7e7..a086cd9 100644 --- a/src/Weatherstack/Errors/HistoricalQueriesNotSupported.cs +++ b/src/Weatherstack/Errors/HistoricalQueriesNotSupported.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From 950004cb82b11a26b75dc410f2046ca422d40153 Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:39:39 -0500 Subject: [PATCH 06/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/HistoricalTimeFrameTooLong.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/HistoricalTimeFrameTooLong.cs b/src/Weatherstack/Errors/HistoricalTimeFrameTooLong.cs index 87471ee..2cfffd1 100644 --- a/src/Weatherstack/Errors/HistoricalTimeFrameTooLong.cs +++ b/src/Weatherstack/Errors/HistoricalTimeFrameTooLong.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From 7fa53a885deda5c9d5a53d86c620d00af8542a43 Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:42:41 -0500 Subject: [PATCH 07/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/InvalidForecastDays.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/InvalidForecastDays.cs b/src/Weatherstack/Errors/InvalidForecastDays.cs index 1c8eca7..22bf259 100644 --- a/src/Weatherstack/Errors/InvalidForecastDays.cs +++ b/src/Weatherstack/Errors/InvalidForecastDays.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From 08d6d10f4d283f0ddf78161f75989eef4f746356 Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:43:02 -0500 Subject: [PATCH 08/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/InvalidHistoricalDate.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/InvalidHistoricalDate.cs b/src/Weatherstack/Errors/InvalidHistoricalDate.cs index b128348..2cb83da 100644 --- a/src/Weatherstack/Errors/InvalidHistoricalDate.cs +++ b/src/Weatherstack/Errors/InvalidHistoricalDate.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From 55bf30585c5d2a42f3b98f0e86c110c2195d0e14 Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:43:17 -0500 Subject: [PATCH 09/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/InvalidHistoricalTimeFrame.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/InvalidHistoricalTimeFrame.cs b/src/Weatherstack/Errors/InvalidHistoricalTimeFrame.cs index a7d31d7..8c239a8 100644 --- a/src/Weatherstack/Errors/InvalidHistoricalTimeFrame.cs +++ b/src/Weatherstack/Errors/InvalidHistoricalTimeFrame.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From 33c5060e77591698b5e6089ce4a31510b4dd5897 Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:43:35 -0500 Subject: [PATCH 10/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/InvalidInterval.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/InvalidInterval.cs b/src/Weatherstack/Errors/InvalidInterval.cs index ef81f0e..b173a9e 100644 --- a/src/Weatherstack/Errors/InvalidInterval.cs +++ b/src/Weatherstack/Errors/InvalidInterval.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From e72e507023432c69e88b4997e2ce6c26478a8580 Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:43:50 -0500 Subject: [PATCH 11/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/InvalidLanguage.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/InvalidLanguage.cs b/src/Weatherstack/Errors/InvalidLanguage.cs index b3e04a1..2503f1d 100644 --- a/src/Weatherstack/Errors/InvalidLanguage.cs +++ b/src/Weatherstack/Errors/InvalidLanguage.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From fb953103f225f769236fcd9aa0b628f9786eaa76 Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:44:06 -0500 Subject: [PATCH 12/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/InvalidUnit.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Weatherstack/Errors/InvalidUnit.cs b/src/Weatherstack/Errors/InvalidUnit.cs index b3e013d..ed1b174 100644 --- a/src/Weatherstack/Errors/InvalidUnit.cs +++ b/src/Weatherstack/Errors/InvalidUnit.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// @@ -19,4 +20,4 @@ public static partial class Errors Type = "606_invalid_unit", Information = "An invalid unit value was specified." }; -} \ No newline at end of file +} From 1f517f99497c096e9e643d31487ecaf099a5769c Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:44:25 -0500 Subject: [PATCH 13/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/MissingHistoricalDate.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/MissingHistoricalDate.cs b/src/Weatherstack/Errors/MissingHistoricalDate.cs index 7d78827..1ed6744 100644 --- a/src/Weatherstack/Errors/MissingHistoricalDate.cs +++ b/src/Weatherstack/Errors/MissingHistoricalDate.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From f1c3c50978340c44b9681aa756685b26c71a99f8 Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:44:40 -0500 Subject: [PATCH 14/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/MissingQuery.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/MissingQuery.cs b/src/Weatherstack/Errors/MissingQuery.cs index 0f76760..6c6c168 100644 --- a/src/Weatherstack/Errors/MissingQuery.cs +++ b/src/Weatherstack/Errors/MissingQuery.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { /// From f694129949581f7b1d12b2eadee909f4f4b75907 Mon Sep 17 00:00:00 2001 From: tacosontitan Date: Fri, 26 Jul 2024 09:44:54 -0500 Subject: [PATCH 15/15] Added whitespace between namespace and class. --- src/Weatherstack/Errors/RequestFailed.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Weatherstack/Errors/RequestFailed.cs b/src/Weatherstack/Errors/RequestFailed.cs index 6ac0383..3e886d6 100644 --- a/src/Weatherstack/Errors/RequestFailed.cs +++ b/src/Weatherstack/Errors/RequestFailed.cs @@ -8,6 +8,7 @@ The folder containing this file is not intended to be a part of the */ namespace Weatherstack.Errors; + public static partial class Errors { ///