`failOnError` setting

fail on error logic (need for `compile && scalastyle` tasks)