toggle menu
http4k
6.15.0.1
jvm
switch theme
search in API
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