added stop line number and error code to all traps