ERROR Example
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
| |
|
|
| |
|
|
|
|
|
|
| |
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This example of the ERROR object creates an error by attempting to open an non-existant file. In the error handling logic at MYIOERR, the error message is retrieved. A user-defined error is then added with a code, subcode, and message. That message is then retrieved and shown.
![]() |