rocket_codegen 0.3.17

Code generation for the Rocket web framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: error catchers can have at most 2 arguments
 --> $DIR/bad-error-fn.rs:9:1
  |
9 | fn err_a(_a: Error, _b: Request, _c: Error) -> &'static str { "hi" }
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: error catchers can take either a `rocket::Error`, `rocket::Request` type, or both.

error: unknown error catcher argument
  --> $DIR/bad-error-fn.rs:12:14
   |
12 | fn err_b(_a: (isize, usize)) -> &'static str { "hi" }
   |              ^^^^^^^^^^^^^^
   |
   = help: error catchers can take either a `rocket::Error`, `rocket::Request` type, or both.

error: aborting due to 2 previous errors