api / org.gradle.tooling.events / FailureResult / getFailures

getFailures

abstract fun getFailures(): MutableList<out Failure>

Returns the failures that occurred while running the operation, if any.

Return
the failures, empty if the operation failed without any specific failure information.