RealtimeMCPHttpError interface
模型介面 RealtimeMCPHttpError
- Extends
屬性
| code | 與 HTTP 請求失敗時對 MCP 伺服器相關的錯誤代碼。 |
| message | 描述與 MCP 伺服器通訊時遇到的 HTTP 失敗。 |
| type | MCP 錯誤類別。 一律為 |
屬性詳細資料
code
與 HTTP 請求失敗時對 MCP 伺服器相關的錯誤代碼。
code: number
屬性值
number
message
描述與 MCP 伺服器通訊時遇到的 HTTP 失敗。
message: string
屬性值
string
type
MCP 錯誤類別。 一律為 http_error。
type: "http_error"
屬性值
"http_error"