netsim_cond_msg: Message to Find in Which Module a 'condition' Occurred

View source: R/utils.R

netsim_cond_msgR Documentation

Message to Find in Which Module a condition Occurred

Description

This function returns a formatted string describing when, where, and why an error, message, or warning occurred.

Usage

netsim_cond_msg(cond, module, at, msg)

Arguments

cond

The type of condition handled (message, warning, error).

module

The name of the module where the condition occurred.

at

The time step the condition occurred.

msg

The condition's message.

Value

A formatted string describing where and when the condition occurred as well as the condition's message.


EpiModel documentation built on Oct. 12, 2024, 1:06 a.m.