mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
database: Introduce single PersonOrEnsemble enum
This commit is contained in:
parent
15e5849730
commit
cec955eb9f
5 changed files with 118 additions and 143 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue