apply minor optimizations

This commit is contained in:
yggverse 2025-06-29 14:34:21 +03:00
parent 9a40d2a7a5
commit 90b8b8c921
3 changed files with 44 additions and 37 deletions

View file

@ -3,7 +3,7 @@ pub enum Response<'a> {
/// Includes reference to the original request
AccessDenied(&'a str),
/// Includes query + server-side error description
InternalServerError(&'a str, String),
InternalServerError(Option<&'a str>, String),
/// Includes reference to the original request
NotFound(&'a str),
/// Includes bytes array