powered by
Any errors that need to be passed back to the user can be set with this function.
FM_set_ui_msg(state, msgs, append = FALSE)
state with ui message set.
formods State object.
Character vector of messages.
When TRUE, msgs will be appended to any current messages. When FALSE (default) msgs will replace any existing messaages.
TRUE
FALSE
# We need a module state object to use this function: sess_res = UD_test_mksession() state = sess_res$state state = FM_set_ui_msg(state, "Something happend.")
Run the code above in your browser using DataLab