@mastra/core
Version:
17 lines • 562 B
TypeScript
/**
* Thrown when two {@link ToolProvider} entries share the same `id` during
* editor / Mastra construction.
*/
export declare class DuplicateToolProviderError extends Error {
readonly ids: readonly string[];
constructor(ids: readonly string[]);
}
/**
* Thrown when no registered tool provider matches the requested id.
*/
export declare class UnknownToolProviderError extends Error {
readonly id: string;
readonly knownIds: readonly string[];
constructor(id: string, knownIds: readonly string[]);
}
//# sourceMappingURL=errors.d.ts.map