decord/source/modules/rpc/helpers/unavailableCommand.tsx
2026-08-24 06:08:38 +00:00

29 lines
807 B
TypeScript

// Module ID: 13951
// Function ID: 13952
// Name: unsupportedCommand
// Dependencies: [676, 8789, 2]
// Module 13951 (unsupportedCommand)
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
import prototypeDefault from "prototype" /* 8789 */;
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;