is there not a more specialized exception we can check on?