genException

fun HttpStatusCode.genException(message: String? = null, violation: Set<ConstraintViolation<*>>? = null): IDataException

Create exception