update errors.md, the code in doc doesn't work
Merge pull request #53 from pengfei-xue/patch-1

update errors.md, the code in doc doesn't work