Replacement for UIErrorsFrame:Clear()

Tripped over these commands today:

/run SlashCmdList.UI_ERRORS_ON()
/run SlashCmdList.UI_ERRORS_OFF()

https://github.com/Gethe/wow-ui-source/blob/live/Interface/FrameXML/ChatFrame.lua#L2348

Wasn’t able to get them to work as simple slash commands but this seems more straight forward than the C_Timer workaround.

I imagine it would suffer from the same issue that requires a timer for :Clear().

Presumably you called OFF, ran the macro and called ON. Have you tried adding a timer to the ON?

Didn’t actually try to implement them so you might be right. I just verified they were executable and toggled the CVars.