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