composure_macros 0.2.1

Procedural macros for Composure Discord bots: #[command], #[app], #[view] and rsx! markup
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0080]: evaluation panicked: more than one App sets `errors`: a bot renders its errors one way
  --> tests/ui/app_two_errors.rs:16:1
   |
16 | #[app(handlers(Inner), errors = render)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `_` failed inside this call
   |
note: inside `composure::command::check_app`
  --> $RUST/core/src/panic.rs
   |
   |         $crate::panicking::panic_fmt($crate::const_format_args!($($t)+));
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the failure occurred here
   |
  ::: $WORKSPACE/crates/composure/src/command/route.rs
   |
   |         panic!("more than one App sets `errors`: a bot renders its errors one way");
   |         --------------------------------------------------------------------------- in this macro invocation