refactor: type native adapter error seam to GSDToolsError

This commit is contained in:
Tom Boucher
2026-05-04 20:10:24 -04:00
parent 9bee4dce4a
commit bc289fad4a

View File

@@ -6,8 +6,8 @@ import type { QueryResult } from './query/utils.js';
export interface QueryNativeDirectAdapterDeps {
timeoutMs: number;
dispatch: (registryCommand: string, registryArgs: string[]) => Promise<QueryResult>;
createTimeoutError: (message: string, command: string, args: string[]) => Error;
createFailureError: (message: string, command: string, args: string[], cause: unknown) => Error;
createTimeoutError: (message: string, command: string, args: string[]) => GSDToolsError;
createFailureError: (message: string, command: string, args: string[], cause: unknown) => GSDToolsError;
}
/**