I am trying to set up Sentinel for some error detection. My smart contract returns an error when some Oracle price stale is detected. I found that Sentinel can detect the status of a transaction to a specific method of a smart contract. Would it be possible to inspect the error message returned by the method and send an alert if it contains a specific error message? I guess Defender doesn't support this use case.
Any suggestion? Thanks.