It's clear that we will take a two stage response handling. Handling reqwest error twice looks weird and cumbersome.
Two options:
- Separate
ResponseError Event.
- Split the error into
NetworkError and GetContentError.
But for second option, the .bytes() also involves network.
It's clear that we will take a two stage response handling. Handling reqwest error twice looks weird and cumbersome.
Two options:
ResponseErrorEvent.NetworkErrorandGetContentError.But for second option, the
.bytes()also involves network.