Skip to content

lasterror

builtin · libnexusinterp/corefcn/error-proprietary.cc

: err = lasterror ()
: lasterror ("reset")
: old = lasterror (err)

Query, clear or set the last error as a structure with the fields message, identifier and stack.

The previous value is returned.