I would like to share a issue / bug on the XDC network which is related to the Revert / Require statements and how it behaves based on the RPC being used, wallets being used.
You can understand about this issue by reading the github issue created by another dev.
Also look into this comment of how it behaves on Remix when an error occurs while using XDCPay vs Metamask.
You can also check about how All the wallets behave differently for an error in one of my previous xdc.dev post.
I think the goal should be to provide consistent error strings and handling revert / requires irrespective of RPC's or wallets being used.