Error Handling for Builder Logic
herzogmatthias opened this issue · comments
- either
capacity()
orweight()
can be used - only positive integers as capacity and weight
- a
weight()
call must be accompanied by aweighter()
call before.build()
- multiple calls for builder methods in the same chain should throw an error