Table of Contents

Class ApiException<TResult>

Namespace
JsonApiDotNetCore.OpenApi.Client.NSwag
Assembly
JsonApiDotNetCore.OpenApi.Client.NSwag.dll

Replacement for the auto-generated ApiException<TResult> class from NSwag.

[UsedImplicitly(ImplicitUseTargetFlags.Members)]
public sealed class ApiException<TResult> : ApiException, ISerializable

Type Parameters

TResult
Inheritance
ApiException<TResult>
Implements
Inherited Members

Constructors

ApiException(string, int, string?, IReadOnlyDictionary<string, IEnumerable<string>>, TResult, Exception?)

Replacement for the auto-generated ApiException<TResult> class from NSwag.

public ApiException(string message, int statusCode, string? response, IReadOnlyDictionary<string, IEnumerable<string>> headers, TResult result, Exception? innerException)

Parameters

message string
statusCode int
response string
headers IReadOnlyDictionary<string, IEnumerable<string>>
result TResult
innerException Exception

Properties

Response

public override string Response { get; }

Property Value

string

Result

public TResult Result { get; }

Property Value

TResult