Open yoshuawuyts opened 3 years ago
So Response::new(9000) no longer panics but returns an error instead. This will match the new Request constructor as well.
Response::new(9000)
Request
This was brought up on Reddit in response to the v2.10.0 announcement and is actually something we should do.
I'd also prefer this change.
So
Response::new(9000)
no longer panics but returns an error instead. This will match the newRequest
constructor as well.This was brought up on Reddit in response to the v2.10.0 announcement and is actually something we should do.