netsim_error_logger {EpiModel} | R Documentation |
Handle the Logging of Traceback and Dumping of Frames on Error
Description
If control$.traceback.on.error == TRUE
, this function prints the traceback
of the current simulation to STDIN. This is useful when ncores > 1
or in
HPC settings.
If control$.dump.frames.on.error == TRUE
, this function saves a debugging
dump for "postmortem debugging". The dumps are named
"dump_%Y%m%d_%H%M%S_s.rda" and stored at the root of the working directory.
Usage
netsim_error_logger(dat, s)
Arguments
dat |
Main |
s |
The number of the simulation that failed |
Value
Nothing, after logging and dumping frames, the function gives the control back to the general error handler
[Package EpiModel version 2.4.0 Index]