ExceptionExtensions Class
- Namespace
- Kampute.HttpClient.Utilities
- Assembly
- Kampute.HttpClient.dll
Definition
Provides extension methods for Exception to enhance functionality related to HTTP request execution.
public static class ExceptionExtensions- Inheritance
- object
- ExceptionExtensions
Methods
IsTransientNetworkError(this Exception)
Determines whether a given exception can be considered as a transient network issue for the purposes of retrying an HTTP request.
public static bool IsTransientNetworkError(this Exception exception)Parameters
exceptionException- The exception encountered during the HTTP request execution.
