convertError<BodyType, InnerType> method
Converts the received Response to a Response which has a body with the
HTTP representation of the original body.
Implementation
@override
FutureOr<Response> convertError<BodyType, InnerType>(
Response response,
) async =>
await decodeJson(response);