Operational errors are handled and mapped to a response. Programmer errors (a TypeError from a bug) mean the process state is suspect, so the safe reaction is to log and restart.