Improper error handling (ERR=186) After an error has occurred, a program's error handler calls another program, and the called program executes an ON ERROR GO BACK statement before clearing the error with a RESUME statement. Change the program logic so that the called program clears the error condition before executing the ON ERROR GO BACK statement. This error cannot be trapped with a BASIC error handler.