fun <T : Any> Iterable<Amount<T>>.sumOrThrow(): <ERROR CLASS>
Sums the amounts yielded by the given iterable, throwing an IllegalArgumentException if any of the token types are mismatched.