onApiError

inline fun ViewStatefulEvent.onApiError(action: (errorBody: ResponseBody?, responseCode: Int) -> Unit): ViewStatefulEvent