awaitOrNullOn
suspend fun <R> RestAction<R>.awaitOrNullOn(ignored: ErrorResponse, vararg errorResponses: ErrorResponse): R?(source)
Awaits the completion of this RestAction, returns null
if one of the provided error responses was thrown.
Any other exception or error response occurs will be thrown.