compose Errors
Composes multiple errors together, meant for those cases in which error suppression, due to a second error being triggered, is not acceptable.
On top of the JVM this function uses Throwable#addSuppressed, available since Java 7. On top of JavaScript the function would return a CompositeException.