make Response::new return Result<Self>
Open
semver-major
- Dominant language
- Rust
- Stars
- 209
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
So `Response::new(9000)` no longer panics but returns an error instead. This will match the new `Request` constructor as well.
This was brought up on Reddit in response to the v2.10.0 announcement and is actually something we should do.
Contributor guide
Assessment
This issue has not been assessed yet.