Log not found URI.

This commit is contained in:
2026-10-25 16:06:42 +01:00
parent 455096fa37
commit bfacd2e302
3 changed files with 7 additions and 1 deletions
+5
View File
@@ -1,3 +1,5 @@
use axum::http::Uri;
use crate::{domain::DomainError, repository::RepositoryError, routes::extractors::ExtractorError};
#[derive(Debug, thiserror::Error)]
@@ -29,6 +31,9 @@ pub enum AppError {
#[error("not found")]
NotFound,
#[error("not found: {0}")]
NotFoundWithUri(Uri),
#[error("race condition occurred")]
RaceCondition,