import chalk from "chalk" ; export function detectTerminalApp ( ) { return process . env . TERM_PROGRAM ; } export class ErrorMessage extends Error { constructor ( message ) { super ( chalk `{red ERROR:} ${ message }` ) ; } }