Allow us to override handling for match exceptions by splitting of the
exception handler from match to its own function.
This should allow it to be overriden by library users.