Skip to main content

Module codes

Module codes 

Source
Expand description

Helpers for constructing tool errors.

Functionsยง

approval_denied
Approval gate rejected the call.
cancelled
Cancelled.
concurrency_limit
Concurrency limit.
denied
Policy deny.
execution
Execution failure.
invalid_args
Invalid arguments.
network
Network failure.
not_found
Tool missing from registry.
rate_limited
Rate limited by upstream.
service_unavailable
Service unavailable.
stream_protocol
Stream protocol violation.
timeout
Timeout.