Back

VB029

Long procedure without error handling

Visual Basic 6
Info
VB6

An unhandled error walks up the call chain and terminates the program on the user's screen; long procedures doing real work deserve a handler

an unhandled error walks up the call chain and terminates the program on the user's screen; long procedures doing real work deserve a handler.

Why this severity

an unhandled error walks up the call chain and terminates the program on the user's screen; long procedures doing real work deserve a handler.


Known false positives

procedures whose callers deliberately own error handling.

Remediation example

On Error GoTo ErrHandler

Reconnecting… Connection lost. Reload