Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ErrorCode type definition
import ( "github.com/OpenRouterTeam/go-sdk/models/components" ) value := components.ErrorCodeInvalidToolInput // Open enum: custom values can be created with a direct type cast custom := components.ErrorCode("custom_value")
ErrorCodeInvalidToolInput
ErrorCodeUnavailable
ErrorCodeMaxUsesExceeded
ErrorCodeTooManyRequests
ErrorCodeQueryTooLong