Uses of Enum Class
com.tnsai.mcp.server.event.ToolErrorCategory
Packages that use ToolErrorCategory
-
Uses of ToolErrorCategory in com.tnsai.mcp.server.event
Methods in com.tnsai.mcp.server.event that return ToolErrorCategoryModifier and TypeMethodDescriptionToolErrorEvent.category()Returns the value of thecategoryrecord component.static ToolErrorCategoryReturns the enum constant of this class with the specified name.static ToolErrorCategory[]ToolErrorCategory.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.tnsai.mcp.server.event with parameters of type ToolErrorCategoryModifier and TypeMethodDescriptionstatic ToolErrorEventToolErrorEvent.of(String toolName, ToolErrorCategory category, String message) Creates an error event with auto-generated timestamp.static ToolErrorEventToolErrorEvent.of(String toolName, ToolErrorCategory category, String message, Long requestId) Creates an error event with a request ID.Constructors in com.tnsai.mcp.server.event with parameters of type ToolErrorCategoryModifierConstructorDescriptionToolErrorEvent(String toolName, ToolErrorCategory category, String message, Instant timestamp, Long requestId) Creates an instance of aToolErrorEventrecord class.