Search Results for

    Show / Hide Table of Contents

    Class ProblemDetails.Error

    the error details object

    Inheritance
    object
    ProblemDetails.Error
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: FastEndpoints
    Assembly: FastEndpoints.dll
    Syntax
    public sealed class ProblemDetails.Error

    Constructors

    Error()

    Declaration
    public Error()

    Error(ValidationFailure)

    Declaration
    public Error(ValidationFailure failure)
    Parameters
    Type Name Description
    ValidationFailure failure

    Properties

    Code

    the code of the error

    Declaration
    [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
    public string? Code { get; set; }
    Property Value
    Type Description
    string

    Name

    the name of the error or property of the dto that caused the error

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Reason

    the reason for the error

    Declaration
    public string Reason { get; set; }
    Property Value
    Type Description
    string

    Severity

    the severity of the error

    Declaration
    [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
    public string? Severity { get; set; }
    Property Value
    Type Description
    string
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX