fun <T> List<T>.indexOfOrThrow(item: T): Int
Returns the index of the given item or throws IllegalArgumentException if not found.