setErrorFont

Sets the error font for the error message

Parameters

font

The font to be set