search for: fullmsg

Displaying 1 result from an estimated 1 matches for "fullmsg".

Did you mean: failmsg
2012 Feb 29
0
Alternative to .Internal(.dfltStop(msg, call))?
...<- simpleError(msg); signalCondition(cond); # A dummy stracktrack / call history stackTraceStr <- "at foo()\nat bar()\n"; call <- NULL; # Also a dummy for this example # If the condition is not caught, do a "full stop" showing error message and stacktrace fullmsg <- paste(msg, "\n", stackTraceStr, sep=""); .Internal(.dfltStop(fullmsg, call)); } # throw() QUESTION: Is it possible to achieve this without using an .Internal() call? Note that stop() will use the same message string for both signalCondition() and .Internal(.dfltStop(......