Real time triggers from switch

Is there a way to send a real-time pulse or strobe from the switch on a predefined event such as effective physical error or signal integrity condition? If so, please suggest a good reference for implementation.
Thanks