mirror of
https://github.com/YGGverse/nexy.git
synced 2026-03-31 17:25:27 +00:00
reorganize debug events
This commit is contained in:
parent
57dfe79568
commit
212ffeab79
10 changed files with 75 additions and 117 deletions
|
|
@ -1,9 +1,9 @@
|
|||
/// Internal types
|
||||
/// Internal server response types
|
||||
pub enum Response<'a> {
|
||||
/// Includes reference to the original request
|
||||
AccessDenied(&'a str),
|
||||
/// Includes server-side error description
|
||||
InternalServerError(String),
|
||||
/// Includes query + server-side error description
|
||||
InternalServerError(&'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