botlib.trace

functions concering stack trace.

>>> from bot.trace import get_exception
>>> ex = get_exception()
>>> from bot.trace import get_frame
>>> frame = get_frame()
>>> from bot.trace import get_strace
>>> trace = get_strace(2)
get_exception(txt='')[source]
get_frame(depth=1, search='code')[source]
get_from(nr=2)[source]

return the plugin name where given frame occured.

get_strace(depth=1)[source]