fix: server function custom errors set status codes (#4782)

* fix: handling status codes from errors

* add demo

* clippy + check

* fix clippy again
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-10-13 16:02:33 -07:00
1 parent fc069f0faf
commit 8f6e7dc1f2
9 files changed
+356 -44

No files matched your search

+5
View File
@@ -699,6 +699,11 @@ name = "flat_router"
path = "examples/06-routing/flat_router.rs"
doc-scrape-examples = true
[[example]]
name = "server_functions"
path = "examples/07-fullstack/server_functions.rs"
doc-scrape-examples = true
[[example]]
name = "middleware"
path = "examples/07-fullstack/middleware.rs"