I think it belongs in `django.core.exception` with an adjusted `__doc__`.