proc myfunc {} { puts START set v [asdasdsd 1 2 3] puts FINISH } if [catch myfunc errorMsg] { puts $errorMsg\n puts $errorCode\n puts $errorInfo\n }
Standard input is empty
START
invalid command name "asdasdsd"
TCL LOOKUP COMMAND asdasdsd
invalid command name "asdasdsd"
while executing
"asdasdsd 1 2 3"
(procedure "myfunc" line 3)
invoked from within
"myfunc"