mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-18 15:39:04 +00:00
26b7b814f4
The error function now takes in a "RoutingError" structure. The idea is that the structure includes all of the information necessary for a user to processor the error as they wish. This interface is very incomplete and may change. At a minimum, the error structure should include: 1) The request that failed. 2) Why the request failed. 3) The chain of attempted route matches, if any. 4) Something else?
9 lines
191 B
TOML
9 lines
191 B
TOML
[package]
|
|
name = "extended_validation"
|
|
version = "0.0.1"
|
|
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
|
|
|
[dependencies]
|
|
rocket = { path = "../../lib" }
|
|
rocket_macros = { path = "../../macros" }
|