http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-bridge-spring
/
org.http4k.bridge
/
SpringToHttp4kFallbackController
/
handleLensFailure
handle
Lens
Failure
@
ExceptionHandler
(
exception
=
[
LensFailure::class
]
,
produces
=
[
"application/problem+json"
,
"application/json"
,
"*/*"
]
)
@
ResponseStatus
(
value
=
HttpStatus.BAD_REQUEST
)
fun
handleLensFailure
(
e
:
LensFailure
)
:
ProblemDetail
(
source
)