Library globals

Function globals . debug . printerror

View source

print error vector as set by call(). By using call() one can execute
code that catches "exceptions" (by a die() call or errors). The Nasal
code doesn't abort in this case. Example:

var possibly_buggy = func { ... }
call(possibly_buggy, nil, var err = []);
debug.printerror(err);

Parameters

err