Can You Use Javascript Switch Case For Error And Exception Handling