Match Case Python Return Value From Exception Block