Fyrox
Fyrox copied to clipboard
Borrowing a reserved instance from a pool raises a confusing error
When borrowing a reserved instance from a pool, the error message is confusing:
Attempt to borrow destroyed object at [Idx: 0; Gen: 1] handle.
it makes one think that the given instance has been previously removed from the pool (instead, it's been reserved).
I don't know if it's possible, but it'd be very clear if the message was something like:
Attempt to borrow reserved object at [Idx: 0; Gen: 1] handle.