*_status macros only take numeric status codes
Open
bug
- Dominant language
- Rust
- Stars
- 209
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
The `_status` macros, e.g. `format_err_status`, only take literals as the status code argument, and prevent an idiomatic usage:
```rust
format_err_status!(
StatusCode::InternalServerError,
"Error: {}",
error_data
)
```
Contributor guide
Assessment
This issue has not been assessed yet.