Fix typo in Errors chapter

Hi,

This commit fix a little typo in the documentation in Errors chapter. There is a comma instead of a semicolon in the if statement and believe me, as a beginner gopher it's difficult to figure out :)