By default the list is sorted in exception number order, the -sort-on-names flag can instead sort on the exception names.
The substr argument can be used to filter for certain exception names (case sensitive).