Packages

t

org.http4s.testing

ErrorReportingUtils

trait ErrorReportingUtils extends AnyRef

Annotations
@deprecated
Deprecated

(Since version 0.21.0-RC2) Not related to HTTP, and will be removed from public interface.

Source
ErrorReportingUtils.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ErrorReportingUtils
  2. AnyRef
  3. Any
  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.