search for: stracktrack

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

Did you mean: stracktrace
2012 Feb 29
0
Alternative to .Internal(.dfltStop(msg, call))?
...#39;error' condition object, which is important when catching the error in signal handlers. Here is a stub what is done, leaving out the details how to retrieve the stack trace (call history): throw <- function(msg, ...) { cond <- 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="")...