uncaught error can be anything, handle default case