Move main.rs to bin/ and stub some message stuff.

This commit is contained in:
2023-11-06 18:41:12 -08:00
parent 035508f3ad
commit da15ef0f15
5 changed files with 30 additions and 3 deletions

9
server/src/error.rs Normal file
View File

@@ -0,0 +1,9 @@
use thiserror::Error;
#[derive(Error, Debug)]
pub enum ServerError {
#[error("notmuch")]
NotmuchError(#[from] notmuch::NotmuchError),
#[error("flatten")]
FlattenError,
}