Enable error triggers

It would be nice if you guys can implement like a trigger when another triggers fails
For example: When trying to read an invalid ID from a table, the player will pop up an error, so I want to catch that error and execute some actions from another trigger.