From: Ian Jackson Date: Mon, 11 Apr 2022 19:51:12 +0000 (+0100) Subject: Fix message for IE::JSONEncode X-Git-Tag: otter-1.1.0~615 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3ae6634dfbc293722f85317de752bc2e2d583552;p=otter.git Fix message for IE::JSONEncode The name is JSONEncode, so this must be serialisation, and indeed that is true of both the construction sites. Signed-off-by: Ian Jackson --- diff --git a/src/error.rs b/src/error.rs index b3d5a031..1d34c9b7 100644 --- a/src/error.rs +++ b/src/error.rs @@ -38,7 +38,7 @@ pub enum InternalError { SVGProcessingFailed(#[from] SVGProcessingError), #[error("String formatting error {0}")] StringFormatting(#[from] fmt::Error), - #[error("JSON deserialisation error: {0:?}")] + #[error("JSON serialisation error: {0:?}")] JSONEncode(serde_json::Error), #[error("Server error: {}", .0.d())] Anyhow(#[from] anyhow::Error),