replace asserts with better exceptions
Closed this issue · 0 comments
progrium commented
We use asserts in various places, but we should reserve asserts for conditions a user should never hit. Most of our asserts are conditions the user can easily run into. Then we might also want to place asserts to actually assert assumptions about state. If a user ever reports seeing these, we will know there is a bug.