# 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.
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.