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