Classification of a Failure. Branch on this rather than on the error text.
error
HTTP
status
details
AUTH
TIMEOUT
timeout
ABORTED
signal
NETWORK
PARSE
UNKNOWN
Classification of a Failure. Branch on this rather than on the
errortext.HTTP— SharePoint answered with a non-2xx status other than 401/403. Seestatusanddetails.AUTH— 401 or 403: bad credentials, NTLM rejected, or an expired/missing request digest.TIMEOUT— the socket was idle longer thantimeout.ABORTED— the request was cancelled throughsignal.NETWORK— DNS, connection or TLS failure before a response arrived.PARSE— SharePoint answered 2xx but the body was not in the expected shape.UNKNOWN— anything else.