toggle menu
MCP Kotlin SDK
1.0-SNAPSHOT
jvm
switch theme
search in API
MCP Kotlin SDK
/
org.jetbrains.kotlinx.mcp
/
ErrorCode
Error
Code
@
Serializable
(
with
=
ErrorCodeSerializer::class
)
sealed
interface
ErrorCode
(
source
)
An incomplete set of error codes that may appear in JSON-RPC responses.
Inheritors
Defined
Unknown
Members
Types
Defined
Link copied to clipboard
@
Serializable
enum
Defined
:
Enum
<
ErrorCode.Defined
>
,
ErrorCode
Unknown
Link copied to clipboard
@
Serializable
data
class
Unknown
(
val
code
:
Int
)
:
ErrorCode
Properties
code
Link copied to clipboard
abstract
val
code
:
Int