초기커밋
This commit is contained in:
13
BrokerApiCore/ApiModels/CommonApiModel.cs
Normal file
13
BrokerApiCore/ApiModels/CommonApiModel.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace BrokerCore.ApiModels;
|
||||
|
||||
using System.ComponentModel;
|
||||
|
||||
public class ApiErrorResponse
|
||||
{
|
||||
[Description("에러 추척용 id")]
|
||||
public required string TraceId { get; set; }
|
||||
[Description("에러 코드")]
|
||||
public int ErrorCode { get; set; } = (int)ServerErrorCode.InternalServerError;
|
||||
[Description("에러 메시지")]
|
||||
public string ErrorMessage { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user