Rocket/examples
Sergio Benitez dc5ef6a421 Progress on error handling. Calling them 'catchers' for now.
Added `error` decorator and `errors` macro.

The current idea is that you can have "catchers" for all valid errors code (in
range [400, 500). At the moment, catchers are just request handlers, and the
decorator expected an empty function signature for the error handler. Obviously,
this is pretty useless. Not sure on what the API should be here. But, progress.

Oh, one more thing: who should handle forwarding a request to a catcher?
Probably not the router. So, the main Rocket should?
2016-04-06 03:26:43 -07:00
..
errors Progress on error handling. Calling them 'catchers' for now. 2016-04-06 03:26:43 -07:00
forms Slightly cleaner form exmaple. 2016-04-04 19:02:51 -07:00
hello_person Polished examples directory. Fixed `File` response bug. 2016-03-22 16:27:12 -07:00
hello_world Polished examples directory. Fixed `File` response bug. 2016-03-22 16:27:12 -07:00
manual_routes HRTB for the win! Manual routes example fully working. 2016-04-03 03:36:30 -07:00
optional_redirect Fixed codegen to work with new API. 2016-04-03 04:25:37 -07:00
optional_result Accidentally broke optional_result example. Now fixed. 2016-03-30 14:04:00 -07:00
redirect Major refactoring. 2016-04-01 16:54:53 -07:00
static_files Now support Result responses. 2016-03-22 17:16:17 -07:00