Log not found URI.
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user