The type used for functions that can be used to build up error reports upon failures in expect.
expect
typedef String ErrorFormatter( actual, Matcher matcher, String reason, Map matchState, bool verbose);