Package io.micronaut.mcp.server.exceptions
package io.micronaut.mcp.server.exceptions
-
ClassDescriptionUtility class to generate
McpSchema.JSONRPCResponse
s allowing the gracious handling of MCP errors for primitive listings.McpErrorExceptionMapper<T extends Throwable>ApI to define mappers from exceptions toMcpError
.