Continuing with error refactoring.

This commit is contained in:
2026-10-10 20:50:43 +02:00
parent d6bb67721e
commit 731139045d
18 changed files with 359 additions and 103 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ async fn upsert_user_app(
.as_ref()
.is_some_and(|previous| previous.user_id != user_id)
{
return Err(AppError::Conflict("User app ID is already in use".into()));
return Err(AppError::AppIdAlreadyExists);
}
tx.commit().await.map_err(RepositoryError::from)?;