initial commit
This commit is contained in:
commit
8a19a733d6
35 changed files with 2489 additions and 0 deletions
8
src/errors/db.rs
Normal file
8
src/errors/db.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
#[derive(Debug)]
|
||||
pub struct DBError {}
|
||||
|
||||
impl From<diesel::result::Error> for DBError {
|
||||
fn from(err: diesel::result::Error) {
|
||||
DBError {}
|
||||
}
|
||||
}
|
1
src/errors/mod.rs
Normal file
1
src/errors/mod.rs
Normal file
|
@ -0,0 +1 @@
|
|||
pub mod db;
|
Loading…
Add table
Add a link
Reference in a new issue