NEW: migration of 'error' and 'exception'