mirror of
https://github.com/hmaxnl/DotBased.git
synced 2025-01-19 02:24:19 +01:00
24 lines
612 B
C#
24 lines
612 B
C#
namespace DotBased.AspNet.Authority.Models.Validation;
|
|
|
|
public class ValidationError
|
|
{
|
|
public ValidationError(string validator, string errorCode, string description)
|
|
{
|
|
Validator = validator;
|
|
ErrorCode = errorCode;
|
|
Description = description;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The validator name that generated this error.
|
|
/// </summary>
|
|
public string Validator { get; }
|
|
/// <summary>
|
|
/// The error code
|
|
/// </summary>
|
|
public string ErrorCode { get; }
|
|
/// <summary>
|
|
/// Error description
|
|
/// </summary>
|
|
public string Description { get; }
|
|
} |