Version 2 of throw

Updated 2011-05-07 21:23:41 by AMG
throw code message

Throw an error with the errorcode being code (a list), and the result string being message. An alternative to error.


Implemented in Tcl 8.6, from TIP#329 .

http://www.tcl.tk/man/tcl8.6/TclCmd/throw.htm


AMG: What are the advantages of [throw] over [error]?