Uses of Record Class
dev.tachyonmcp.api.server.domain.ServerError
Packages that use ServerError
Package
Description
Domain types for MCP protocol data structures.
Protocol interfaces and domain types for MCP server and client interaction.
Generated JSON-RPC codecs for the MCP 2025-11-25 protocol version.
Generated JSON-RPC codecs for the MCP 2026-07-28 protocol version.
Server-side domain types for initialization, error handling, and capability validation.
-
Uses of ServerError in dev.tachyonmcp.api.server.domain
Methods in dev.tachyonmcp.api.server.domain that return ServerErrorModifier and TypeMethodDescription@Nullable ServerErrorTaskResult.Failed.protocolError()Returns the value of theprotocolErrorrecord component.Methods in dev.tachyonmcp.api.server.domain with parameters of type ServerErrorModifier and TypeMethodDescriptionstatic TaskResult.FailedTaskResult.failed(ServerError error) Creates a failed task that preserveserrorfor direct replay as the RPC error.Constructors in dev.tachyonmcp.api.server.domain with parameters of type ServerErrorModifierConstructorDescriptionFailed(List<ContentBlock> content, @Nullable Object structuredContent, @Nullable Map<String, Object> meta, @Nullable ServerError protocolError) Creates an instance of aFailedrecord class. -
Uses of ServerError in dev.tachyonmcp.core.protocol
Methods in dev.tachyonmcp.core.protocol that return ServerErrorMethods in dev.tachyonmcp.core.protocol with parameters of type ServerErrorModifier and TypeMethodDescriptionProtocolResponseMapper.error(ServerError error) Maps a protocol-neutral server error to this protocol version's JSON-RPC error payload.Constructors in dev.tachyonmcp.core.protocol with parameters of type ServerError -
Uses of ServerError in dev.tachyonmcp.core.protocol.mcp.v2025_11_25.codecs
Methods in dev.tachyonmcp.core.protocol.mcp.v2025_11_25.codecs with parameters of type ServerError -
Uses of ServerError in dev.tachyonmcp.core.protocol.mcp.v2026_07_28.codecs
Methods in dev.tachyonmcp.core.protocol.mcp.v2026_07_28.codecs with parameters of type ServerError -
Uses of ServerError in dev.tachyonmcp.core.server.domain
Methods in dev.tachyonmcp.core.server.domain that return ServerErrorModifier and TypeMethodDescriptionstatic ServerErrorServerErrors.fromUnhandledException(Throwable cause, String internalErrorDetail) Default mapping for an exception a handler didn't translate to a wire error itself.static ServerErrorServerErrors.headerMismatch(String detail) static ServerErrorServerErrors.internalError(String detail) static ServerErrorServerErrors.invalidParams(String detail) static ServerErrorServerErrors.invalidRequest(String detail) static ServerErrorServerErrors.methodNotFound(String detail) static ServerErrorServerErrors.missingRequiredClientCapability(String detail, Map<String, Object> requiredCapabilities) error.data.requiredCapabilitiesis aClientCapabilities-shaped map, not a name list.static ServerErrorServerErrors.parseError()static ServerErrorServerErrors.resourceNotFound(String detail) static ServerErrorServerErrors.resourceNotFound(String detail, Map<String, String> data) static ServerErrorServerErrors.unsupportedProtocolVersion(String detail, Map<String, Object> data)