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

Method OnClientError

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

Source from the content-addressed store, hash-verified

797
798type IWebSocketChatHandler interface {
799 OnClientError(ctx context.Context, cli *WebSocketChat, event *WebSocketClientErrorEvent) error
800 OnClosed(ctx context.Context, cli *WebSocketChat, event *WebSocketClosedEvent) error
801 OnError(ctx context.Context, cli *WebSocketChat, event *WebSocketErrorEvent) error
802 OnChatCreated(ctx context.Context, cli *WebSocketChat, event *WebSocketChatCreatedEvent) error

Callers

nothing calls this directly

Implementers 2

BaseWebSocketChatHandlerwebsocket_event.go
WebSocketChatwebsocket_chat_client.go

Calls

no outgoing calls

Tested by

no test coverage detected