Merge pull request #677 from SebastienGllmt/patch-1
Derive extra error traits
This commit is contained in:
commit
468d704bb0
@ -1,5 +1,5 @@
|
||||
/// An error from unsuccessful database operations
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||
pub enum DbErr {
|
||||
/// There was a problem with the database connection
|
||||
Conn(String),
|
||||
|
Loading…
x
Reference in New Issue
Block a user