更新 'src/api/v4/error-handling/error-list/windshaft-errors.js'
This commit is contained in:
parent
38c5023e65
commit
5c6cfe4d8b
@ -5,11 +5,11 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'invalid-dataset': {
|
'invalid-dataset': {
|
||||||
messageRegex: /relation (.+) does not exist/,
|
messageRegex: /relation (.+) does not exist/,
|
||||||
friendlyMessage: 'Invalid dataset name used. Dataset $0 does not exist.'
|
friendlyMessage: '无效的数据表名. $0 不存在.'
|
||||||
},
|
},
|
||||||
'column-does-not-exist': {
|
'column-does-not-exist': {
|
||||||
messageRegex: /column (.+) does not exist/,
|
messageRegex: /column (.+) does not exist/,
|
||||||
friendlyMessage: 'Invalid column name. Column $0 does not exist.'
|
friendlyMessage: '无效的列名称. $0 不存在.'
|
||||||
},
|
},
|
||||||
'analysis-requires-authentication': {
|
'analysis-requires-authentication': {
|
||||||
messageRegex: /^Analysis requires authentication with API key/
|
messageRegex: /^Analysis requires authentication with API key/
|
||||||
@ -19,7 +19,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
limit: {
|
limit: {
|
||||||
'over-platform-limits': {
|
'over-platform-limits': {
|
||||||
messageRegex: /^You are over platform's limits/
|
messageRegex: /^超过了平台许可/
|
||||||
},
|
},
|
||||||
'generic-limit-error': {
|
'generic-limit-error': {
|
||||||
messageRegex: /.*/,
|
messageRegex: /.*/,
|
||||||
|
Loading…
Reference in New Issue
Block a user