How to remove LUA Errors?

Is there a command for removing LUA errors because I’m trying to make a movie, and it gets annoying when they pop up.

What is the command, if there is one?