relay/src/util.ts

5 lines
88 B
TypeScript

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