Inspection Details

OnErrorGoToMinusOne


Summary
A ThunderCode inspection that locates instances of 'On Error GoTo -1' statements.
Reasoning
This inpection is flagging code we dubbed "ThunderCode", code our friend Andrew Jackson would have written to confuse Rubberduck's parser and/or resolver. 'On Error GoTo -1' is poorly documented and uselessly complicates error handling.


Back to List