oldLevel = pwSetErrorLevel(newLevel) Sets the error level. If errors occur with a lower error level, no message will be printed and the program flow will not stop (if possible). If no new error level is specified, only the current level is returned.