export function errorExit(msg: string): void { console.log(msg); process.exit(1); }