We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6b6ffc commit ef7e1feCopy full SHA for ef7e1fe
src/tools/atlas-local/atlas-localTool.ts
@@ -1,15 +1,14 @@
1
-import { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
2
-import { ToolArgs, ToolBase, ToolCategory } from "../tool.js";
+import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
+import type { ToolArgs, ToolCategory } from "../tool.js";
3
+import { ToolBase } from "../tool.js";
4
5
export abstract class AtlasToolBase extends ToolBase {
6
public category: ToolCategory = "atlas-local";
7
-
8
protected handleError(
9
error: unknown,
10
args: ToolArgs<typeof this.argsShape>
11
): Promise<CallToolResult> | CallToolResult {
12
13
// Error Handling for expected atlas-local errors go here
14
15
// For other types of errors, use the default error handling from the base class
0 commit comments