Developers Forum for XinFin XDC Network

ncode
ncode

Posted on

Error Strings Support in XDC

Recently Since last week, The RPC's seems to have changed, and the error message strings are no longer working properly.
For eg:
if there is an Ownable error intially it use to return

"Ownable Caller is not the owner"

How ever since the last week post XDCPay 2.0 beta release the error statements are not user friendly

Image description

Discussion (1)

Collapse
ruslan_wing profile image
ruslan wing

please add the RPC manually for 0x prefix output please use erpc.xinfin.network and for xdc prefix rpc please use rpc.xinfin.network