Companion object for Catcher that provides a factory method for creating Throwable extractors.
Creates and returns a new Catcher that uses the passed partial function to determine matches.
Creates and returns a new Catcher that uses the passed partial function to determine matches.
the partial function that is used by returned extractor to determine matches