relay/src/error.ts

7 lines
133 B
TypeScript
Raw Normal View History

export function errorExit(msg: string): void {
console.error(msg);
process.exit(1);
}
export const ERR_NOT_READY = "NOT_READY";