fun Iterable<ContractState>.sumCashBy(owner: PublicKey): <ERROR CLASS>
Sums the cash states in the list that are owned by the given key, throwing an exception if there are none.