small error fix

This commit is contained in:
Krzysztof Andrelczyk
2025-03-05 22:08:44 +01:00
parent dc75b76c0a
commit 199a52b344
+4 -4
View File
@@ -42,11 +42,11 @@ pub enum Error {
/// `reqwest` crate errors.
#[error(transparent)]
Reqwest(#[from] reqwest::Error),
/// The platform was not found on the updater JSON response.
#[error("the platform `{0}` was not found on the response `platforms` object")]
/// The platform was not found in the updater JSON response.
#[error("the platform `{0}` was not found in the response `platforms` object")]
TargetNotFound(String),
/// Neither the platform not the fallback platform was not found on the updater JSON response.
#[error("the platform `{0}` and `{1}` were not found on the response `platforms` object")]
/// Neither the platform not the fallback platform was not found in the updater JSON response.
#[error("the platform `{0}` and `{1}` were not found in the response `platforms` object")]
TargetsNotFound(String, String),
/// Download failed
#[error("`{0}`")]