ai-debug-local-mcp
Version:
🎯 ENHANCED AI GUIDANCE v4.1.2: Dramatically improved tool descriptions help AI users choose the right tools instead of 'close enough' options. Ultra-fast keyboard automation (10x speed), universal recording, multi-ecosystem debugging support, and compreh
16 lines • 356 B
JavaScript
/**
* Error handling helper utilities
*/
export function getErrorMessage(error) {
if (error instanceof Error) {
return error.message;
}
return String(error);
}
export function asError(error) {
if (error instanceof Error) {
return error;
}
return new Error(String(error));
}
//# sourceMappingURL=error-helper.js.map