Sheng Hau
Sheng Hau
We realized that the useContractFunction `state` has an `errorHash` which can be mapped back to the custom error defined in the smart contract (e.g. using [ethers getError function](https://docs.ethers.org/v5/api/utils/abi/interface/#Interface--fragments))
> https://masnet.mas.gov.sg/portal/masnet/vmedia/get/?path=1002/application-starter-guide.zip In this case, if you do a HEAD request to the above, the `content-type` header says it's `text/html`, probably due to a misconfiguration on their server. If we...
> @shioju can you work on this? @younglim I rebased with master and fixed type errors.