feat: enhance error handling with internationalized messages across services and locales
This commit is contained in:
@@ -356,3 +356,36 @@ error.mcp.callToolFailed: "Failed to call MCP tool: %v"
|
||||
error.mcp.connectServerFailed: "Failed to connect to MCP Server: %v"
|
||||
error.wxwork.unsupportedOutboundMessageType: "Unsupported WeCom outbound message type: %s"
|
||||
error.wxwork.currentUnsupportedOutboundMessageType: "The current WeCom outbound message type is not supported yet: %s"
|
||||
error.param.required: "Parameter %s is required."
|
||||
error.oidc.loginDisabled: "OIDC login is not enabled."
|
||||
error.oidc.stateSecretMissing: "OIDC login secret is not configured."
|
||||
error.oidc.profileMissing: "OIDC user information does not exist."
|
||||
error.oidc.bindingDisabled: "The current OIDC binding has been disabled."
|
||||
error.oidc.boundUserMissing: "The system user bound to this OIDC account does not exist."
|
||||
error.wxwork.loginDisabled: "WeCom login is not enabled."
|
||||
error.wxwork.loginSecretMissing: "WeCom login secret is not configured."
|
||||
error.wxwork.profileMissing: "WeCom user information does not exist."
|
||||
error.wxwork.bindingDisabled: "The current WeCom binding has been disabled."
|
||||
error.wxwork.boundUserMissing: "The system user bound to this WeCom account does not exist."
|
||||
error.wxwork.userIDMissing: "Failed to get the WeCom user ID."
|
||||
error.wxwork.userIDTaken: "The WeCom user ID is already used as a system username."
|
||||
error.wxwork.mobileTaken: "The WeCom mobile number is already used by a system user."
|
||||
error.wxwork.emailTaken: "The WeCom email address is already used by a system user."
|
||||
error.wxwork.configIncomplete: "WeCom is not enabled or its configuration is incomplete."
|
||||
error.customerSession.secretMissing: "Customer session secret is not configured."
|
||||
error.conversation.createFailed: "Failed to create conversation."
|
||||
error.conversation.tagNotFound: "Tag not found."
|
||||
error.aiConfig.noneEnabled: "No available AI configuration is configured."
|
||||
error.embeddingModel.noneEnabled: "No available Embedding model is configured."
|
||||
error.agentTeamSchedule.startAtInvalid: "Invalid start time format."
|
||||
error.agentTeamSchedule.startAtInvalidWithFormat: "Invalid start time format. Use yyyy-MM-dd HH:mm:ss or RFC3339."
|
||||
error.agentTeamSchedule.endAtInvalid: "Invalid end time format."
|
||||
error.agentTeamSchedule.endAtInvalidWithFormat: "Invalid end time format. Use yyyy-MM-dd HH:mm:ss or RFC3339."
|
||||
error.agentTeamSchedule.startDateInvalid: "Invalid start date format."
|
||||
error.agentTeamSchedule.startDateInvalidWithFormat: "Invalid start date format. Use yyyy-MM-dd."
|
||||
error.agentTeamSchedule.endDateInvalid: "Invalid end date format."
|
||||
error.agentTeamSchedule.endDateInvalidWithFormat: "Invalid end date format. Use yyyy-MM-dd."
|
||||
error.agentTeamSchedule.startTimeInvalid: "Invalid start time format."
|
||||
error.agentTeamSchedule.startTimeInvalidWithFormat: "Invalid start time format. Use HH:mm or HH:mm:ss."
|
||||
error.agentTeamSchedule.endTimeInvalid: "Invalid end time format."
|
||||
error.agentTeamSchedule.endTimeInvalidWithFormat: "Invalid end time format. Use HH:mm or HH:mm:ss."
|
||||
|
||||
Reference in New Issue
Block a user