//
koffee-backend
/
eu.yeger.koffee.model.dto
/
Result
/
Companion
/
unprocessableEntity
unprocessableEntity
Returns a
Failure
for the unprocessable entity status code.
Author
Jan Müller
Parameters
error
The error text.
T
The type of the
Result
.
fun <
T
:
Any
>
unprocessableEntity
(error:
String
):
Result.Failure
<
T
>
Content copied to clipboard