Merge pull request #677 from SebastienGllmt/patch-1

Derive extra error traits
This commit is contained in:
Chris Tsang 2022-05-09 21:19:02 +08:00 committed by GitHub
commit 468d704bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
/// An error from unsuccessful database operations /// An error from unsuccessful database operations
#[derive(Debug, PartialEq)] #[derive(Debug, PartialEq, Eq, Clone)]
pub enum DbErr { pub enum DbErr {
/// There was a problem with the database connection /// There was a problem with the database connection
Conn(String), Conn(String),