Currently wmgThrottlingExceptions is in the same file as wgExtensionFunctions.
The first is to define the exceptions itself, and the second is to analyze them. I think that we should separate the first that is often edited, and more edited than the second that is a script.