For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

getDescription

@Nullable
abstract fun getDescription(): @Nullable String(source)

Returns a long description of the failure. For example, a stack trace. Call this method on the root failure only: the description may include the full text of the failures returned by getCauses. When inspecting every node in a failure tree, use getOwnDescription to avoid processing cause descriptions repeatedly.

Return

a long description of the failure

Since

2.4