errors.py documentation updated.