Use simplified error strings for errors at crate level
This commit is contained in:
parent
1cef0946dc
commit
1162e4a8ce
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue