Enum HttpRequestFailureCause
- Namespace
- Homa.Sdk.Foundation
- Assembly
- Homa.Sdk.Foundation.dll
Enumeration of possible causes of HttpRequestExecutionException
public enum HttpRequestFailureCause
Fields
ConnectionError = 4The request has failed due to a connection error like lack of internet connection or the server being unavailable.
NonSuccessStatusCode = 1The HTTP request has completed with a non-success (>299) status code
Other = 0The cause is caused by another issue (see exception for details)
Timeout = 2The HTTP request was terminated because of a timeout set by SetSingleRequestTimeout(TimeSpan)
UnsupportedResponsePayload = 3The response payload could not be parsed to an expected type, either because of a serialization error, or an unsupported content type.