Documentation
¶
Overview ¶
Package mcp provides error constructors for MCP server operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TypeContentRequired ¶
func TypeContentRequired() error
TypeContentRequired returns an error when type or content is missing from an MCP tool call.
Returns:
- error: "type and content are required"
func UnknownEventType ¶
UnknownEventType returns an error for an unrecognized session event type.
Parameters:
- eventType: the unrecognized event type string
Returns:
- error: "unknown event type: <eventType>"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.