I would say it really depends on the size, but watch for excessive vomiting or blood. This page explains it well. https://www.care2.com/greenliving/how-dangerous-is-chocolate-for-dogs.html
Good article Brady. Yes, depends on size of dog and how much chocolate or cocoa was in the cake & frosting, and how much the dog ate.
Thanks! Your answer is awaiting moderation.