early-musician-4164507/24/2019, 8:31 PM
with a try-catch?
is to throw when the lookup fails, or whether it succeeds and returns an object that indicates it couldn't be found. Either way, should be easy to test for (either try/catch or if).
early-musician-4164507/24/2019, 8:34 PM