MCPcopy Create free account
hub / github.com/xerrors/Yuxi / handleValidationError

Method handleValidationError

web/src/utils/errorHandler.js:107–112  ·  view source on GitHub ↗

* 处理验证错误 * @param {string} message - 验证错误消息

(message)

Source from the content-addressed store, hash-verified

105 * @param {string} message - 验证错误消息
106 */
107 static handleValidationError(message) {
108 return this.handleError(new Error(message), '输入验证', {
109 severity: 'warning',
110 customMessage: message
111 })
112 }
113
114 /**
115 * 处理异步操作错误

Callers

nothing calls this directly

Calls 1

handleErrorMethod · 0.95

Tested by

no test coverage detected