MessageProperties.getErrorMessageStyle

Returns the MessageStyleProperties object representing error message styling properties.

Further documentation.

returns MessageStyleProperties