decord/source/modules/rpc/helpers/unavailableCommand.tsx
2026-09-03 10:05:34 +00:00

29 lines
807 B
TypeScript

// Module ID: 14411
// Function ID: 14412
// Name: unsupportedCommand
// Dependencies: [673, 9520, 2]
// Module 14411 (unsupportedCommand)
import set from "set" /* 2 */;
import ME from "ME" /* 673 */;
import prototypeDefault from "prototype" /* 9520 */;
const RPCErrors = ME.RPCErrors;
let obj = {
handler(cmd) {
let tmp = prototypeDefault;
tmp = new tmp({ errorCode: RPCErrors.INVALID_COMMAND }, "Unsupported command: " + cmd.cmd);
throw tmp;
}
};
obj = {
handler(cmd) {
let tmp = prototypeDefault;
tmp = new tmp({ errorCode: RPCErrors.INVALID_COMMAND }, "Deprecated command: " + cmd.cmd);
throw tmp;
}
};
const result = set.fileFinishedImporting("modules/rpc/helpers/unavailableCommand.tsx");
export const unsupportedCommand = obj;
export const deprecatedCommand = obj;