all
All allows you to match all the routes that are not matched by other routes.
Example
Warning
Note that .all(*, 404handler) is already implemented in JoyRouter, so you don't need to add it manually.
The page by default will return a 404 error with the json { detail: "Not Found" }
Tip
.all is essentially the same as custom("*", ...), but it's more readable.
You could also use .custom("*", "*", my_404_handler) to match all methods for all routes.