Replaced old style except, error with new style except as error