Files
discord-decomp/modules/rpc/helpers/unavailableCommand.tsx
T
2026-11-01 12:12:55 +02:00

20 lines
494 B
TypeScript

// Metro module 13574 (f13575).
import { RPCErrors } from "../../../Constants";
import RPCError from "../RPCError";
const r16 = {
handler: (a0) => {
throw new RPCError({
errorCode: RPCErrors.INVALID_COMMAND
}, `Unsupported command: ${a0.cmd}`);
}
};
const r18 = {
handler: (a0) => {
throw new RPCError({
errorCode: RPCErrors.INVALID_COMMAND
}, `Deprecated command: ${a0.cmd}`);
}
};
export { r16 as unsupportedCommand };
export { r18 as deprecatedCommand };