Yeah, `errors.py` seems like the the right place for this to go.