@levimc-lse/scaffold
Version:
A utility for assisting in the development of Legacy Script Engine plugins.
21 lines (20 loc) • 737 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DebuggerNotFoundError = void 0;
class DebuggerNotFoundError extends Error {
constructor(debuggerName) {
const message = `Could not find LeviLamina server debugger ${debuggerName}.`;
super(message);
this.msg = message;
}
getMessage() {
return this.msg;
}
getSuggestion() {
const suggestion = new Array();
suggestion.push("Try `npx lses debug <path> <name>` to launch the specific LeviLamina server debugger before.");
suggestion.push("Check if the specified debugger name is correct.");
return suggestion;
}
}
exports.DebuggerNotFoundError = DebuggerNotFoundError;