Espresso's default FailureHandler. If this does not fit your needs, feel free to provide
your own implementation via Espresso.setFailureHandler(FailureHandler).
Handle the given error in a manner that makes sense to the environment in which the test is
executed (e.g. take a screenshot, output extra debug info, etc). Upon handling, most handlers
will choose to propagate the error.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.