Rocket/examples/manual_routes/src
Sergio Benitez 45b4436ed3 Add default catchers: '#[catch(default)]'.
The bulk of the changes in this commit are for creating an
'ErrorHandler' trait that works like the 'Handler' trait, but for
errors. Furthermore, Rocket's default catcher now responds with a JSON
payload if the preferred 'Accept' media type is JSON.

This commit also fixes a bug in 'LocalRequest' where the internal
'Request' contained an correct 'URI'.
2020-07-30 01:55:41 -07:00
..
main.rs Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
tests.rs Use the blocking testing API everywhere. 2020-07-11 09:24:30 -07:00