isFaulted

abstract fun isFaulted(): Boolean

Return

true if the task has an error, false otherwise.