2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 13951
|
|
|
|
|
// Function ID: 13952
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: unsupportedCommand
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [676, 8789, 2]
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 13951 (unsupportedCommand)
|
|
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import ME from "ME" /* 676 */;
|
|
|
|
|
import prototypeDefault from "prototype" /* 8789 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const RPCErrors = ME.RPCErrors;
|
2026-07-20 16:05:17 +00:00
|
|
|
let obj = {
|
|
|
|
|
handler(cmd) {
|
2026-08-24 06:08:38 +00:00
|
|
|
let tmp = prototypeDefault;
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp = new tmp({ errorCode: RPCErrors.INVALID_COMMAND }, "Unsupported command: " + cmd.cmd);
|
|
|
|
|
throw tmp;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
obj = {
|
|
|
|
|
handler(cmd) {
|
2026-08-24 06:08:38 +00:00
|
|
|
let tmp = prototypeDefault;
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp = new tmp({ errorCode: RPCErrors.INVALID_COMMAND }, "Deprecated command: " + cmd.cmd);
|
|
|
|
|
throw tmp;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = set.fileFinishedImporting("modules/rpc/helpers/unavailableCommand.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const unsupportedCommand = obj;
|
|
|
|
|
export const deprecatedCommand = obj;
|