Used by tasks that will provide output messages when something goes wrong. This is useful for collecting metric information.
java.lang.String
getReason()
Groovy Documentation