The example for handling errors in README.md is obsolete:
[...] new FileSink("./failures.txt", new JsonFormatter(), null)
FileSink is obsolete and will be removed from the public API in a future version. The example should use WriteToFile() instead.
References
Source code of FileSink