We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MikeORed/catalog-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
dataset-not-found-error.ts•518 B
import { DatasetId } from '../value-objects/dataset-id.js';
/**
* Error thrown when a requested dataset does not exist
*/
export class DatasetNotFoundError extends Error {
constructor(public readonly datasetId: DatasetId) {
super(`Dataset not found: '${datasetId}'`);
this.name = 'DatasetNotFoundError';
// Maintains proper stack trace for where our error was thrown (only available on V8)
if (Error.captureStackTrace) {
Error.captureStackTrace(this, DatasetNotFoundError);
}
}
}