object Catcher
Companion object for Catcher
that provides a factory method for creating Throwable
extractors.
- Companion:
- class
- Source:
- Catcher.scala
Value members
Concrete methods
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.
- Value parameters:
- partial
the partial function that is used by returned extractor to determine matches
- Source:
- Catcher.scala