hadError

open fun hadError(): Boolean

Tests if @task resulted in an error.

Return

true if the task resulted in an error, false otherwise.

Since

2.36