Function bodyErr [src]

After receiving error.ReadFailed from the Reader returned by reader or readerDecompressing, this function accesses the more specific error code.

Prototype

pub fn bodyErr(response: *const Response) ?http.Reader.BodyError

Parameters

response: *const Response

Source

pub fn bodyErr(response: *const Response) ?http.Reader.BodyError { return response.request.reader.body_err; }