api / org.gradle.api / ProjectState / getFailure

getFailure

@Nullable abstract fun getFailure(): Throwable

Returns the exception describing the project failure, if any.

Return
The exception, or null if project evaluation did not fail.