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: Only `message = "..."` or `message(inherit)` syntax is allowed in `api_error` attribute
 --> tests/ui/message_invalid_syntax.rs:6:25
  |
6 |     #[api_error(message(invalid))]
  |                         ^^^^^^^