Include error message in output
Support requiring a root object when compiling