2 ms·
Is this essentially "On Error Resume Next" for Python? [0] https://msdn.microsoft.com/en-us/library/aa266173(v=vs.60).aspx https://msdn.microsoft.com/en-us/lib
by quickthrower2 9y ago
Is this essentially "On Error Resume Next" for Python?
[0] https://msdn.microsoft.com/en-us/library/aa266173(v=vs.60).aspx https://msdn.microsoft.com/en-us/library/aa266173(v=vs.60).a...
"On Error Resume Next specifies that when a run-time error occurs, control goes to the statement immediately following the statement where the error occurred where execution continues. Use this form rather than On Error GoTo when accessing objects."
- electroly 9y agoThe point of "On Error Resume Next" is that you can check the error code on the next line. It changes the error handling from exception-style to error-return-style.