MCPcopy Create free account
hub / github.com/53AI/53AIHub / NewErrorHandler

Function NewErrorHandler

api/service/error_handler.go:16–20  ·  view source on GitHub ↗

NewErrorHandler 创建错误处理器

()

Source from the content-addressed store, hash-verified

14
15// NewErrorHandler 创建错误处理器
16func NewErrorHandler() *ErrorHandler {
17 return &ErrorHandler{
18 batchManager: GetBatchUploadManagerInstance(),
19 }
20}
21
22// HandleInvalidConnection 处理无效连接错误
23func (h *ErrorHandler) HandleInvalidConnection(batchID, fileID string, err error) error {

Callers 1

GetErrorHandlerFunction · 0.85

Calls 1

Tested by

no test coverage detected