<PackageReference Include="Refit" Version="16.3.0" />

Refit.ValidationApiException

An ApiException that is raised according to RFC 7807, which contains problem details for validation exceptions.
public ProblemDetails Content { get; }

Gets the problem details of the RFC 7807 validation exception.

public ValidationApiException(string message)

Initializes a new instance of the ValidationApiException class.

public ValidationApiException(string message, Exception innerException)

Initializes a new instance of the ValidationApiException class.

public static ValidationApiException Create(ApiException exception)

Creates a new instance of a ValidationException from an existing ApiException.