Читать книгу SAS Viya - Kevin D. Smith - Страница 32
Handling Other Errors
ОглавлениеAll of the other errors that you encounter in SWAT are raised as swat.SWATErrors. Reasons for these errors include the inability to connect to the CAS host, out-of-memory errors, and any other errors that can occur in a networking environment. These can all be handled in the standard Python way of using try/except blocks in your code to capture them.