api-error 0.1.0

HTTP API error types and utilities for Rust web services
1
2
3
4
5
error: the `#[api_error(transparent)]` attribute is only allowed on unamed variants with only one field
 --> tests/ui/transparent_multi_field_enum.rs:7:5
  |
7 |     TwoFields(String, i32),
  |     ^^^^^^^^^