From 1162e4a8ce1636a53ec86494aa3c3805c6b6a690 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sun, 8 Jan 2023 14:51:36 +0000 Subject: [PATCH] Use simplified error strings for errors at crate level --- lib/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/lib.rs b/lib/src/lib.rs index d4b1fe9d..d8ddda98 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -160,9 +160,9 @@ pub mod error { #[derive(thiserror::Error, Debug)] pub enum Error { /// An error with an embedded storage engine - #[error("Database error: {0}")] + #[error("{0}")] Db(#[from] crate::error::Db), /// An error with a remote database instance - #[error("API error: {0}")] + #[error("{0}")] Api(#[from] crate::error::Api), }