Error When Running "dogContract.sol"

Anyone else get this error when running Dog Contract?

DogError

Not sure it is supposed to happen or if it is a typo.

Note: I originally posted this on Github but GitHub flagged my account (idk why) so I moved it here. :slight_smile:

Think you may have forgotten to declare the event before calling it. Check if you have this line below included with all your other declarations:

event addedDog(address owner, string name, uint dogId);

The link you supplied is to an older lesson - hereโ€™s the link to the correct one, which has the declaration on line 15.