# ProblemReporter

@Incubating
interface ProblemReporter(source)

Defines different ways to report problems.

#### Since

8.6

## Functions

reporting
Link copied to clipboard
abstract fun reporting(spec: Action<ProblemSpec>)
Configures and reports a new problem.
rethrowing
Link copied to clipboard
abstract fun rethrowing(e: RuntimeException, spec: Action<ProblemSpec>): RuntimeException
Configures a new problem using an existing exception as input, reports it, and uses it to throw a new exception.
throwing
Link copied to clipboard
abstract fun throwing(spec: Action<ProblemSpec>): RuntimeException
Configures a new problem, reports it, and uses it to throw a new exception.