getParameterOrSendError

suspend fun <ERROR CLASS>.getParameterOrSendError(field: String): <ERROR CLASS>