Listen for Smart Contract reverts

Hi everyone, I'm developing an events listener for one of my Smart Contract. Let's say that a user creates a token and the event "TokenCreated" is successfully emitted from the Contract. But what If I want to know when the function that creates the tokens reverts using listeners?

AFAIK, you can only listen for new blocks and check the transactions (in the block) for a failed status. With this method you can only find txs that interact directly with the contract, if the method is called by a contract its represented as an "internal transaction"

Thank you for your reply.
I think I’m starting to understand how the all thing works but I’m missing some pieces. Do you have any source with some code or theoretical explanation?

Thank you, regards.