* 创建错误处理装饰器 * @param {string} context - 错误上下文 * @param {Object} options - 配置选项
(context, options = {})
| 132 | * @param {Object} options - 配置选项 |
| 133 | */ |
| 134 | static createHandler(context, options = {}) { |
| 135 | return (error) => this.handleError(error, context, options) |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | /** |
nothing calls this directly
no test coverage detected