Move main.rs to bin/ and stub some message stuff.
This commit is contained in:
9
server/src/error.rs
Normal file
9
server/src/error.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use thiserror::Error;
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
pub enum ServerError {
|
||||
#[error("notmuch")]
|
||||
NotmuchError(#[from] notmuch::NotmuchError),
|
||||
#[error("flatten")]
|
||||
FlattenError,
|
||||
}
|
||||
Reference in New Issue
Block a user