Rocket/core/codegen/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
..
attribute Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
bang Make URI modifications to 'Route' codegen-safe. 2020-07-29 16:38:24 -07:00
derive Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
http_codegen.rs Make URI modifications to 'Route' codegen-safe. 2020-07-29 16:38:24 -07:00
lib.rs Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
proc_macro_ext.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
syn_ext.rs Remove 'proc_macro' features. 2020-07-16 05:46:39 -07:00