This commit is contained in:
2025-07-28 23:44:01 +08:00
parent f8ac02e7c9
commit 10d086414b
6 changed files with 68 additions and 24 deletions

View File

@@ -53,6 +53,7 @@ type ApiCallRecordResponse struct {
Cost *string `json:"cost,omitempty"`
ErrorType *string `json:"error_type,omitempty"`
ErrorMsg *string `json:"error_msg,omitempty"`
TranslatedErrorMsg *string `json:"translated_error_msg,omitempty"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
@@ -87,4 +88,6 @@ func NewErrorResponse(code int, message, transactionId string) *ApiCallResponse
TransactionId: transactionId,
Data: "",
}
}
}