packages/QnAMaker/bin/qnamaker.js
async function handleError(error) {
    process.stderr.write('\n' + chalk.red.bold(error + '\n\n'));
    await help(args);
    return 1;
}
async function handleError(error) {
    process.stderr.write('\n' + chalk.red.bold(error + '\n\n'));
    await help(args);
    return 1;
}
async function handleError ( error ) { process . stderr . write ( '\n' + chalk . red . bold ( error + '\n\n' ) ) ; await help ( args ) ; return 1 ; }
Exits with a non-zero status and prints
the error if present or displays the help

@param error
Exits with a non - zero status and prints the error if present or displays the help