t

org.http4s.testing

ErrorReportingUtils

trait ErrorReportingUtils extends AnyRef

Source
ErrorReportingUtils.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ErrorReportingUtils
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def catchSystemErr(thunk: ⇒ Unit): String

    Catches System.err output, for testing purposes.

  2. def silenceSystemErr[A](thunk: ⇒ A): A

    Silences System.err, only printing the output in case exceptions are thrown by the executed thunk.