Class ValidationErrorResponse

Assembly: redb.Identity.Contracts.dll

The refusal of a request that fails its declared validation rules: the first rule broken as the
description, every rule broken in . The status mapper answers it with 400.

public sealed class ValidationErrorResponse

Inheritance

Object→ValidationErrorResponse

Properties

Error

[JsonPropertyName("error")]
public string Error { get; init; }

ErrorDescription

[JsonPropertyName("error_description")]
public required string ErrorDescription { get; init; }

ValidationErrors

[JsonPropertyName("validation_errors")]
public required string[] ValidationErrors { get; init; }