an electronic apparatus that includes : a circuit board ; a switch attached to the circuit board ; an electronic part mounted on the circuit board ; a wiring pattern extending between the switch and the electronic part ; and a protrusion protruding from a surface of the wiring pattern , the protrusion being disposed adjacent to the switch on the circuit board and overlapping the wiring pattern .