You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
551 B

namespace CoreAgent.Domain.Models
{
/// <summary>
/// 表示API错误响应的领域模型
/// </summary>
public class ErrorResponse
{
/// <summary>
/// 请求的唯一跟踪标识符
/// </summary>
public string TraceId { get; set; }
/// <summary>
/// 错误消息
/// </summary>
public string Message { get; set; }
/// <summary>
/// 验证错误集合,键为字段名,值为错误消息数组
/// </summary>
public IDictionary<string, string[]> Errors { get; set; }
}
}