McpException

open class McpException(message: String, val code: Int? = null, val data: JsonElement? = null, cause: Throwable? = null) : Exception(source)

A JSON-RPC error from the server, or a transport failure (code null).

Inheritors

Constructors

Link copied to clipboard
constructor(message: String, code: Int? = null, data: JsonElement? = null, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val code: Int?
Link copied to clipboard
val data: JsonElement?
Link copied to clipboard
open val message: String?