Class DetailedHttpRequestException
- Namespace
- GroupeIsa.Neos.ClusterCommunication.Errors
- Assembly
- GroupeIsa.Neos.ClusterCommunication.dll
Represents a detailed HTTP request exception that includes an API error.
public class DetailedHttpRequestException : HttpRequestException, ISerializable
- Inheritance
-
DetailedHttpRequestException
- Implements
- Inherited Members
Constructors
DetailedHttpRequestException(HttpRequestException, ApiError)
Initializes a new instance of the DetailedHttpRequestException class with the specified inner exception and API error.
public DetailedHttpRequestException(HttpRequestException innerException, ApiError apiError)
Parameters
innerExceptionHttpRequestExceptionInner exception.
apiErrorApiErrorApi error.
Properties
ApiError
Gets the API error associated with this exception.
public ApiError ApiError { get; }
Property Value
BusinessMessage
Gets a business-friendly message derived from the API error.
public string? BusinessMessage { get; }