api-error 0.1.3

A derive macro for attaching HTTP status codes and user-facing messages to Rust error types.
Documentation
1
2
3
4
5
error: invalid format argument '', formatting arguments must be numeric positional indices
 --> tests/ui/format_empty_argument.rs:6:27
  |
6 |     #[api_error(message = "Empty argument {}")]
  |                           ^^^^^^^^^^^^^^^^^^^