ErrorReporting
org.http4s.testing.ErrorReporting$
object ErrorReporting
Attributes
- Source:
- ErrorReporting.scala
- Graph
- Supertypes
- Self type
- ErrorReporting.type
Catches System.err
output, for testing purposes.
Silences System.out and System.err streams for the duration of thunk. Restores the original streams before exiting.
Silences System.out and System.err streams for the duration of thunk. Restores the original streams before exiting.
Silences System.err
, only printing the output in case exceptions are
thrown by the executed thunk
.
Silences System.err
, only printing the output in case exceptions are
thrown by the executed thunk
.
Returns an ErrorHandler that does not log