store path info in the internal server error member

This commit is contained in:
yggverse 2025-07-04 16:40:47 +03:00
parent 46e781b3ad
commit 01c4eec592
3 changed files with 21 additions and 13 deletions

View file

@ -9,6 +9,7 @@ pub enum Response<'a> {
},
InternalServerError {
error: String,
path: Option<PathBuf>,
query: Option<&'a str>,
},
NotFound {