Skip to content

Slot: code

The error type that occurred.

URI: mcp:code Alias: code

Applicable Classes

Name Description Modifies Slot
MethodNotFoundError A JSON-RPC error indicating that the requested method does not exist or is no... no
Error A JSON-RPC error object yes
InvalidParamsError A JSON-RPC error indicating that the method parameters are invalid or malform... no
InternalError A JSON-RPC error indicating that an internal error occurred on the receiver (... no
InvalidRequestError A JSON-RPC error indicating that the request is not a valid request object (-... no
ParseError A JSON-RPC error indicating that invalid JSON was received by the server (-32... no

Properties

Type and Range

Property Value
Range Integer
Domain Of Error

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self mcp:code
native mcp:code

LinkML Source

name: code
description: The error type that occurred.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: code
domain_of:
- Error
range: integer