Rename throwError to throwAlert