Skip to content

EveClientException

NexusLabs.Eve

EveClientException Class

Represents a non-successful HTTP response returned by an eve route.

public sealed class EveClientException : System.Net.Http.HttpRequestException

Inheritance System.Object 🡒 System.Exception 🡒 System.Net.Http.HttpRequestException 🡒 EveClientException

Constructors

EveClientException() Constructor

Initializes an exception without an HTTP response.

public EveClientException();

EveClientException(string) Constructor

Initializes an exception with a message but without an HTTP response.

public EveClientException(string message);

Parameters

message System.String

The error message.

EveClientException(string, Exception) Constructor

Initializes an exception with a message and inner exception but without an HTTP response.

public EveClientException(string message, System.Exception innerException);

Parameters

message System.String

The error message.

innerException System.Exception

The underlying exception.

Properties

EveClientException.ResponseBody Property

Gets the raw response body.

public string ResponseBody { get; }

Property Value

System.String

EveClientException.ResponseHeaders Property

Gets the response headers keyed case-insensitively.

public System.Collections.Generic.IReadOnlyDictionary<string,System.Collections.Generic.IReadOnlyList<string>> ResponseHeaders { get; }

Property Value

System.Collections.Generic.IReadOnlyDictionary<System.String,System.Collections.Generic.IReadOnlyList<System.String>>