Update errors.md

There was a small typo (a missing "c"). I changed:
funtion
To
function.