Implement MultipleErrors extends Error as a throwable type for compiler

`function(`