feat:添加对话情景功能
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// 来源:docs/03-接口文档.md §五 错误码
|
||||
// ============================================================
|
||||
|
||||
import type { ErrorCode } from "../types";
|
||||
// ErrorCode type reserved for future use
|
||||
|
||||
/** 将错误码转为用户友好文案(需要传入翻译函数) */
|
||||
export function getErrorMessage(code: string, translate: (key: string) => string): string {
|
||||
|
||||
Reference in New Issue
Block a user