Magik Error Handling
Table of Contents
Capturing Error but Continue Execution
There are times that you need to capture an error to display the problem, but you need to continue the thread's execution. You can do this with a catch statement. Below is an example of capturing an error, reporting the error, report the traceback, and continuing the code execution.
example 1
example 2
Capturing Warning but Continue Execution
There are times that you need to want to capture or ignore warnings. You can use a _try statement but it may not actually complete the call. You can handle it with an empty proc.
page revision: 6, last edited: 26 Apr 2019 21:01