Package: io.vertx.groovy.ext.unit.report

## [Groovy] Class Failure

- io.vertx.groovy.ext.unit.report.Failure

- A failure provides the details of a failure that happened during the execution of a test case.

  The failure can be:
  - an assertion failure: an assertion failed
  - an error failure: an expected error occured

- - ### Constructor Summary

    Constructors
    Constructor and description
    `Failure (java.lang.Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `java.lang.Object` | `getDelegate()`
    `boolean` | `isError()` @return true if the failure is an error failure otherwise it is an assertion failure
    `java.lang.String` | `message()` @return the error message
    `java.lang.String` | `stackTrace()` @return the stack trace

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Constructor Detail

    - #### Failure(java.lang.Object delegate)

  - ### Method Detail

    - #### java.lang.Object getDelegate()

    - #### boolean isError()

      Returns:
        true if the failure is an error failure otherwise it is an assertion failure

    - #### java.lang.String message()

      Returns:
        the error message

    - #### java.lang.String stackTrace()

      Returns:
        the stack trace