getQueryParameterOrSendError

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