20 lines
494 B
TypeScript
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 };
|