ProblemException

constructor(problem: Problem, cause: Throwable? = null)(source)

Parameters

cause

the underlying failure, if any. Chained through Throwable.cause, and logged server-side when problem-details-ktor answers the exception, since it would otherwise be dropped without a trace.