BadRequestException

constructor(details: String, typeSuffix: String, cause: Throwable? = null)

Parameters

details

the detailed message to expose to the caller

typeSuffix

A detailed type making this bad request instance uniquely identifiable. PROBLEM_NAMESPACE will automatically be prepended. This field should be written in kebab-case.

cause

The causing exception for the bad request or null if none.