Skip to content

Commit b66e731

Browse files
committed
feat: error type
1 parent 11e5d8d commit b66e731

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

backend/modules/evaluation/application/convertor/evaluation_set/evaluation_set.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ func UploadAttachmentDetailDO2DTO(do *entity.UploadAttachmentDetail) *app_eval_s
146146
OriginVideo: common.ConvertVideoDO2DTO(do.OriginVideo),
147147
Video: common.ConvertVideoDO2DTO(do.Video),
148148
ErrMsg: do.ErrMsg,
149+
ErrorType: gptr.Of(dataset.ItemErrorType(gptr.Indirect(do.ErrorType))),
149150
}
150151
}
151152

backend/modules/evaluation/domain/entity/evaluation_set.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ type UploadAttachmentDetail struct {
217217
OriginVideo *Video
218218
Video *Video
219219
ErrMsg *string
220+
ErrorType *ItemErrorType
220221
}
221222

222223
type FieldWriteOption struct {

0 commit comments

Comments
 (0)