@edicarlos.lds/businessmap-mcp
Version:
Model Context Protocol server for BusinessMap (Kanbanize) integration
10 lines • 465 B
JavaScript
/**
* Standard error handler for resource responses
*/
export function createErrorResourceResponse(error) {
// Resources typically return content, but if there's an error reading,
// we might want to return an error message in the content or throw.
// For MCP resources, throwing an error is often the right way to signal failure to read.
throw error instanceof Error ? error : new Error(String(error));
}
//# sourceMappingURL=base-resource.js.map