Tcl Medium · Lesson 6

Return codes and error options: catch, return -options and -level

Read the full options dict from catch, raise errors with an -errorcode, write loops that honour break and continue, and re-throw without losing details.

Lessons · Tcl Medium · Lesson 6 of 10

Return codes and error options: catch, return -options and -level

Read the full options dict from catch, raise errors with an -errorcode, write loops that honour break and continue, and re-throw without losing details.

Illustration for Tcl
Read the full options dict from catch, raise errors with an -errorcode, write loops that honour break and continue, and re-throw without losing details.