OnCheckErrorCode?

Has anyone on here used OnCheckErrorCode? Can someone tell me how it works and possibly provide an example? TIA

Which action are you referring to?