import { log } from '../helpers' ; export class InvalidConfigError extends Error { constructor ( explanation , e ? ) { super ( `Config file contains errors!` ) ; if ( e ) console . log ( e ) ; log ( `❤️ERROR: Problem with config file.❤️\n\n${ explanation }\n` ) ; } }