When Elizabeth Edwards learned of her husband's affair, she went into a bathroom and "threw up," she writes in her new memoir to be published in May.

"I cried and screamed, I went to the bathroom and threw up," Edwards writes in her book "Resilience."

Edwards said her husband, former North Carolina Senator John Edwards, admitted to the betrayal just days after declaring his run for president in 2006 -- and a year before the National Enquirer first reported it.

Elizabeth Edwards, who was diagnosed with breast cancer in 2004, said she wanted him to drop out of the race to protect the family from media scrutiny, but decided to stand by him anyway.

"He should not have run," she wrote.

Edwards never mentions her husband's mistress, Rielle Hunter, by name. But she writes that while her life may be tragic, Hunter's is "pathetic."

She also writes that Hunter's pick-up line was, "you are so hot."

Edwards writes that when her husband first confessed, he lied and said he had only had relations with Hunter once.

The original confession "left most of the truth out," she writes.

The book -- scheduled for publication May 12 by Broadway Books -- was obtained by the New York Daily News.

The two-time presidential candidate went public with the affair last August after the National Enquirer reported he was the father of Rielle Hunter's daughter, Francis Quinn.

Edwards admitted to having an affair with Hunter -- who worked on his presidential campaign as a videographer -- but he denied that he is the father of her child.

Edwards said last August that the affair was a serious mistake, after telling ABC News' Nightline that he repeatedly lied about the affair during his failed presidential campaign.

"I made a serious error in judgment and conducted myself in a way that was disloyal to my family and to my core beliefs," Edwards said at the time. "I was and am ashamed of my conduct and choices, and I had hoped that it would never become public.

"In the course of several campaigns, I started to believe that I was special and became increasingly egocentric and narcissistic. If you want to beat me up, feel free. You cannot beat me up more than I have," he said.

Click here to read more from the New York Daily News.

The Associated Press contributed to this report.