2022-07-24 00:24:19 +00:00
|
|
|
import log from "loglevel";
|
|
|
|
|
2022-07-23 00:57:12 +00:00
|
|
|
export function errorExit(msg: string): void {
|
2022-07-24 00:24:19 +00:00
|
|
|
log.error(msg);
|
2022-07-23 00:57:12 +00:00
|
|
|
process.exit(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
export const ERR_NOT_READY = "NOT_READY";
|