Versions in this module Expand all Collapse all v0 v0.0.2 Mar 2, 2026 Changes in this version + var ErrSessionNotFound = errors.New("session not found") v0.0.1 Feb 26, 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 ErrStdinClosed = errors.New("stdin closed") + var ErrTransportNotConnected = errors.New("transport not connected") + var ErrUnknownMessageType = errors.New("unknown message type") + var ErrUnsupportedControlRequest = errors.New("unsupported control request") + var ErrUnsupportedOption = errors.New("unsupported option") + type CLIConnectionError struct + Err error + func (e *CLIConnectionError) Error() string + func (e *CLIConnectionError) IsCodexSDKError() bool + func (e *CLIConnectionError) Unwrap() error + type CLIJSONDecodeError struct + Err error + RawData string + func (e *CLIJSONDecodeError) Error() string + func (e *CLIJSONDecodeError) IsCodexSDKError() bool + func (e *CLIJSONDecodeError) Unwrap() error + type CLINotFoundError struct + SearchedPaths []string + func (e *CLINotFoundError) Error() string + func (e *CLINotFoundError) IsCodexSDKError() bool + type CodexSDKError interface + IsCodexSDKError func() bool + type MessageParseError struct + Data map[string]any + Err error + Message string + func (e *MessageParseError) Error() string + func (e *MessageParseError) IsCodexSDKError() bool + func (e *MessageParseError) Unwrap() error + type ProcessError struct + Err error + ExitCode int + Stderr string + func (e *ProcessError) Error() string + func (e *ProcessError) IsCodexSDKError() bool + func (e *ProcessError) Unwrap() error