Move more things to BaseException
Move more things to BaseException

I don't see a reason these need to be Exception rather than
BaseException, so lowering them down to check the base class instead.

django/asgiref