When trying to use deleteOrder with an invalid index (index > list indexes), the following error message is seen.
This references Person when it is actually an order.
Recommended Fix
This is an easy bug to fix, just change the error message to use order instead of person.
Problem
When trying to use
deleteOrder
with an invalid index (index > list indexes), the following error message is seen. This references Person when it is actually an order.Recommended Fix
This is an easy bug to fix, just change the error message to use
order
instead ofperson
.