McpException
constructor(code: Int, message: String = "MCP error ", data: JsonElement? = null, cause: Throwable? = null)(source)
Parameters
message
the error message; used verbatim as Exception.message without an error-code prefix. Defaults to "MCP error $code" when not provided.
cause
the original cause