Tcl · Lesson 10

Errors and files: catch, try, throw and channels

Raise errors with error and throw, handle them with catch and try/trap/finally, and write and read files through channels.

Lessons · Tcl · Lesson 10 of 10

Errors and files: catch, try, throw and channels

Raise errors with error and throw, handle them with catch and try/trap/finally, and write and read files through channels.

Illustration for Tcl
Raise errors with error and throw, handle them with catch and try/trap/finally, and write and read files through channels.