Reads the error body once; the response stays readable for the caller (error.response). A body that cannot be read counts as no body, except a timeout or an abort of signal (the caller's), which propagate.
error.response
signal
Optional
Reads the error body once; the response stays readable for the caller (
error.response). A body that cannot be read counts as no body, except a timeout or an abort ofsignal(the caller's), which propagate.