heh, move this assertion first. You'll get an error in the first one if 'error' doesn't exist.