refactor: type native adapter error seam to GSDToolsError
This commit is contained in:
@@ -6,8 +6,8 @@ import type { QueryResult } from './query/utils.js';
|
|||||||
export interface QueryNativeDirectAdapterDeps {
|
export interface QueryNativeDirectAdapterDeps {
|
||||||
timeoutMs: number;
|
timeoutMs: number;
|
||||||
dispatch: (registryCommand: string, registryArgs: string[]) => Promise<QueryResult>;
|
dispatch: (registryCommand: string, registryArgs: string[]) => Promise<QueryResult>;
|
||||||
createTimeoutError: (message: string, command: string, args: string[]) => Error;
|
createTimeoutError: (message: string, command: string, args: string[]) => GSDToolsError;
|
||||||
createFailureError: (message: string, command: string, args: string[], cause: unknown) => Error;
|
createFailureError: (message: string, command: string, args: string[], cause: unknown) => GSDToolsError;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user