api-error 0.1.0

HTTP API error types and utilities for Rust web services
1
2
3
4
5
error: invalid format argument 'abc', formatting arguments must be numeric positional indices
 --> tests/ui/format_non_numeric.rs:6:27
  |
6 |     #[api_error(message = "Invalid argument {abc}")]
  |                           ^^^^^^^^^^^^^^^^^^^^^^^^