Scalactic is brought to you by:

object Catcher

Companion object for Catcher that provides a factory method for creating Throwable extractors.

Source
Catcher.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Catcher
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(partial: PartialFunction[Throwable, Boolean]): Catcher

    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.

    partial

    the partial function that is used by returned extractor to determine matches