What is hardware trap?
https://en.wikipedia.org/wiki/Trap_(computing)

It is called a hardware trap because the mechanism of triggering it, and handling it, is embedded in the hardware itself and it cannot be [fully] controlled/disabled in software.