Versions in this module Expand all Collapse all v0 v0.0.2 Apr 16, 2026 v0.0.1 Apr 10, 2026 Changes in this version + var ErrClientAlreadyConnected = errors.New("client already connected") + var ErrClientClosed = errors.New("client closed: clients are single-use, create a new one with New()") + var ErrClientNotConnected = errors.New("client not connected") + var ErrControllerStopped = errors.New("protocol controller stopped") + var ErrOperationCancelled = errors.New("operation cancelled") + var ErrRequestTimeout = errors.New("request timeout") + var ErrSessionNotFound = errors.New("session not found") + var ErrStdinClosed = errors.New("stdin closed") + var ErrTransportNotConnected = errors.New("transport not connected") + var ErrUnknownMessageType = errors.New("unknown message type") + type MessageParseError struct + Data map[string]any + Err error + Message string + func (e *MessageParseError) Error() string + func (e *MessageParseError) IsVLLMSDKError() bool + func (e *MessageParseError) Unwrap() error + type ToolPermissionDeniedError struct + Interrupt bool + Message string + ToolName string + func (e *ToolPermissionDeniedError) Error() string + func (e *ToolPermissionDeniedError) IsVLLMSDKError() bool + type UnsupportedHookEventError struct + Event string + func (e *UnsupportedHookEventError) Error() string + func (e *UnsupportedHookEventError) IsVLLMSDKError() bool + type UnsupportedHookOutputError struct + Event string + Field string + func (e *UnsupportedHookOutputError) Error() string + func (e *UnsupportedHookOutputError) IsVLLMSDKError() bool + type VLLMSDKError interface + IsVLLMSDKError func() bool