Add a function to raise an error from a Lua script
Prevents the wizard from being run as a model script