ExcBuf.setTraceback

set a Throwable's backtrace to the current point.

struct ExcBuf
nothrow @trusted @nogc
void
setTraceback
(
Throwable tobj
)

Parameters

tobj Throwable

the Throwable which backtrace to set. If null, set the buffer's Throwable (which must not be null).

Meta