Former Democratic presidential nominee Hillary Clinton Hillary Diane Rodham ClintonWhat Senate Republicans have said about election-year Supreme Court vacancies Bipartisan praise pours in after Ginsburg's death Trump carries on with rally, unaware of Ginsburg's death MORE in her new book takes responsibility for her shocking loss to President Trump in the 2016 presidential election, writing, "I was the candidate."

"I go back over my own shortcomings and the mistakes we made. I take responsibility for all of them. You can blame the data, blame the message, blame anything you want, but I was the candidate," Clinton writes in her upcoming book, "What Happened," which was obtained by CNN.

"It was my campaign. Those were my decisions," she continued.

ADVERTISEMENT

While Clinton takes responsibility for the election results, she does target other characters in the election.

The former presidential candidate calls former FBI Director James Comey "rash" for his decision to revive the issue surrounding her use of a private email server while secretary of State in the final days of the campaign.

"Comey's letter turned that picture upside down," she said.

Clinton also offers criticism to former President Obama and former Vice President Joe Biden Joe BidenSenate Republicans face tough decision on replacing Ginsburg What Senate Republicans have said about election-year Supreme Court vacancies Biden says Ginsburg successor should be picked by candidate who wins on Nov. 3 MORE, saying Obama could have had a stronger response to Russia's role in the election and that Biden was not necessarily right to criticize the Democratic Party's 2016 narrative on the middle class.

Some of Clinton's harshest criticism is focused on Russian President Vladimir Putin and Moscow's role in influencing the election.

"There's nothing I was looking forward to more than showing Putin that his efforts to influence our election and install a friendly puppet had failed," she said.

"I know he must be enjoying everything that's happened instead. But he hasn't had the last laugh yet."