Allow callbacks to provide custom error messages or objects
Add generated files