<PackageReference Include="Relativity.Server.Import.SDK" Version="24000.1.0" />

HttpServiceException

public sealed class HttpServiceException : Exception
The exception thrown when call to Http server failed (e.g. WebApi or Kepler). This class cannot be inherited.
public const bool DefaultFatalValue = false

The default fatal value.

The default HTTP status code when it's unknown or not supplied.

public bool Fatal { get; }

Gets a value indicating whether the error is considered fatal.

public HttpStatusCode StatusCode { get; }

Gets the HTTP response status code.

Initializes a new instance of the HttpServiceException class.

public HttpServiceException(string message)

Initializes a new instance of the HttpServiceException class.

public HttpServiceException(string message, bool fatal)

Initializes a new instance of the HttpServiceException class.

public HttpServiceException(string message, HttpStatusCode statusCode, bool fatal)

Initializes a new instance of the HttpServiceException class.

public HttpServiceException(string message, Exception innerException)

Initializes a new instance of the HttpServiceException class.

public HttpServiceException(string message, Exception innerException, bool fatal)

Initializes a new instance of the HttpServiceException class.

public HttpServiceException(string message, Exception innerException, HttpStatusCode statusCode, bool fatal)

Initializes a new instance of the HttpServiceException class.