Table of Contents

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

innerException HttpRequestException

Inner exception.

apiError ApiError

Api error.

Properties

ApiError

Gets the API error associated with this exception.

public ApiError ApiError { get; }

Property Value

ApiError

BusinessMessage

Gets a business-friendly message derived from the API error.

public string? BusinessMessage { get; }

Property Value

string