http://purl.org/tcl/home/man/tcl8.4/TclCmd/bgerror.htm is the official man page.
[fill in useful tricks and examples for using bgerror]
Tcl syntax help Arts and crafts of Tcl-tk programming Category Command