Optional ReadonlycauseName of the error that carried code, e.g. SocketError.
ReadonlycodeMost specific error code on the cause chain, or unknown.
ReadonlydetailInnermost message, bounded. Log-only: it may contain host:port.
ReadonlynameOutermost error name, e.g. TypeError.
Optional Readonlysyscall
Why an upstream call failed without a usable response.
Node's fetch rejects every transport failure with the same
TypeError: fetch failed; the reason (ECONNREFUSED,ECONNRESET,UND_ERR_SOCKET, ...) is only on itscausechain.nameandcodeare bounded and safe to return to callers.detail,syscallandcauseNamecan carry internal addresses and belong in operator logs only.