mirror of
https://github.com/YGGverse/nexy.git
synced 2026-03-31 17:25:27 +00:00
apply minor optimizations
This commit is contained in:
parent
9a40d2a7a5
commit
90b8b8c921
3 changed files with 44 additions and 37 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue