Haven't used it personally but according to the documentation.
It should be /macroerror off

Display or hide text command errors within a user macro. Any errors are displayed upon macro execution. Setting resets to on after macro is executed

Definitely going to add this my Bard attack/buffs macro.