Skip to content

lasterr

builtin · libnexusinterp/corefcn/error-proprietary.cc

: msg = lasterr ()
: [msg, msgid] = lasterr ()
: lasterr (msg)
: lasterr (msg, msgid)

Query or set the most recent error message and its identifier.

When a new value is given the previous one is returned if outputs are requested. The text is stored as is, without format processing.