Learn R Programming

formods (version 0.2.1)

FM_set_ui_msg: Sets Message in State from UI Processing

Description

Any errors that need to be passed back to the user can be set with this function.

Usage

FM_set_ui_msg(state, msgs, append = FALSE)

Value

state with ui message set.

Arguments

state

formods State object.

msgs

Character vector of messages.

append

When TRUE, msgs will be appended to any current messages. When FALSE (default) msgs will replace any existing messaages.

Examples

Run this code
# 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