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

Method createHandler

web/src/utils/errorHandler.js:134–136  ·  view source on GitHub ↗

* 创建错误处理装饰器 * @param {string} context - 错误上下文 * @param {Object} options - 配置选项

(context, options = {})

Source from the content-addressed store, hash-verified

132 * @param {Object} options - 配置选项
133 */
134 static createHandler(context, options = {}) {
135 return (error) => this.handleError(error, context, options)
136 }
137}
138
139/**

Callers

nothing calls this directly

Calls 1

handleErrorMethod · 0.95

Tested by

no test coverage detected