Check for errors allocating the error strings.