CLN: Exception in nanops
The only relevant exception that gets raised by bottleneck AFAICT is a TypeError when we pass a `mask` kwarg that it doesn't accept.  By avoiding this case at the beginning, we avoid having to catch the exception.
thanks