MCPcopy Create free account
hub / github.com/coze-dev/coze-go / OnClientError

Method OnClientError

websocket_event.go:826–828  ·  view source on GitHub ↗
(ctx context.Context, cli *WebSocketChat, event *WebSocketClientErrorEvent)

Source from the content-addressed store, hash-verified

824type BaseWebSocketChatHandler struct{}
825
826func (BaseWebSocketChatHandler) OnClientError(ctx context.Context, cli *WebSocketChat, event *WebSocketClientErrorEvent) error {
827 return nil
828}
829
830func (BaseWebSocketChatHandler) OnClosed(ctx context.Context, cli *WebSocketChat, event *WebSocketClosedEvent) error {
831 return nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected