pcall(func, arg1, ...)
Calls the function
funcwith the given arguments in “protected mode”. This means that any error insidefuncwill not propagate; instead,pcallcatches the error and returns a status code and the error message. If the call succeeds without errors, it returns true followed by any values returned byfunc. If there is an error, it returns false followed by the error message.