更新 'src/api/v4/error-handling/error-list/windshaft-errors.js'

This commit is contained in:
zhongjin 2024-05-23 15:45:41 +08:00
parent 38c5023e65
commit 5c6cfe4d8b

View File

@ -5,11 +5,11 @@ module.exports = {
},
'invalid-dataset': {
messageRegex: /relation (.+) does not exist/,
friendlyMessage: 'Invalid dataset name used. Dataset $0 does not exist.'
friendlyMessage: '无效的数据表名. $0 不存在.'
},
'column-does-not-exist': {
messageRegex: /column (.+) does not exist/,
friendlyMessage: 'Invalid column name. Column $0 does not exist.'
friendlyMessage: '无效的列名称. $0 不存在.'
},
'analysis-requires-authentication': {
messageRegex: /^Analysis requires authentication with API key/
@ -19,7 +19,7 @@ module.exports = {
},
limit: {
'over-platform-limits': {
messageRegex: /^You are over platform's limits/
messageRegex: /^超过了平台许可/
},
'generic-limit-error': {
messageRegex: /.*/,