Fixed a typo in errors.py