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: the `#[api_error(transparent)]` attribute is only allowed on unamed variants with only one field
 --> tests/ui/transparent_unit_enum.rs:7:5
  |
7 |     Unit,
  |     ^^^^