Colour the text
by using the error colour
Source: R/validation_error_functions.R
valErr_TextErrCol.Rd
Colour the text
by using the error colour
Arguments
- text
to be coloured. if not supplied, the coloured error text will be returned. If
text
is of classdmdScheme_validation
, the function will be called withtext = text$header, error = text$error
- error
either level, text or colour of error (see
valErr_errorLevels
)- addError
if the error text should be added in the front of the
text
.