database: Introduce single PersonOrEnsemble enum

This commit is contained in:
Elias Projahn 2021-05-24 15:37:19 +02:00
parent 15e5849730
commit cec955eb9f
5 changed files with 118 additions and 143 deletions

View file

@ -21,6 +21,9 @@ pub enum Error {
#[error(transparent)]
ReceiveError(#[from] tokio::sync::oneshot::error::RecvError),
#[error("{0}")]
Other(&'static str),
}
/// Return type for database methods.