This wraps a `PartialFunction` in a `Function`, which means if the passed in `pf` chooses not to handle a certain exception/error, this will wrap it in a `MatchError`, instead of letting flow through.