From 59a5895a6f714cd1620f3775f4c0a7e61f61878c Mon Sep 17 00:00:00 2001 From: Nicolas Haquet Date: Thu, 30 Nov 2023 14:16:59 +0100 Subject: [PATCH] [ADD] typo --- src/error.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/error.rs b/src/error.rs index 8c860f5..a8b4f1a 100644 --- a/src/error.rs +++ b/src/error.rs @@ -9,15 +9,15 @@ use tracing::error; ///it convert the recevied error in a response #[derive(Error, Debug)] pub enum RouterError { - #[error("failed to serialize data")] + #[error("failed to serialize data.")] Serialisation(#[from] serde_json::Error), - #[error("failed to apply identity patch")] + #[error("failed to apply identity patch.")] Internal(#[from] anyhow::Error), - #[error("failled to convert to string")] + #[error("failled to convert to string.")] StrConvert(#[from] ToStrError), - #[error("the request failed")] + #[error("the request failed.")] Http(#[from] reqwest::Error), - #[error("extract error")] + #[error("extract error.")] Status(StatusCode), }