rename string member to message

This commit is contained in:
yggverse 2025-07-04 16:43:21 +03:00
parent 01c4eec592
commit c3f701bc6a
3 changed files with 20 additions and 12 deletions

View file

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