ErrorReporting

class Object
trait Matchable
class Any

Value members

Concrete methods

def catchSystemErr(thunk: => Unit): String

Catches System.err output, for testing purposes.

Catches System.err output, for testing purposes.

Source:
ErrorReporting.scala
def silenceOutputStreams[R](thunk: => R): R

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.

Source:
ErrorReporting.scala
def silenceSystemErr[A](thunk: => A): A

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.

Source:
ErrorReporting.scala
def silentErrorHandler[F[_], G[_]](implicit F: Monad[F]): Request[F] => PartialFunction[Throwable, F[Response[G]]]

Returns an ErrorHandler that does not log

Returns an ErrorHandler that does not log

Source:
ErrorReporting.scala