Rpc Request Failed Exception
class RpcRequestFailedException(val code: Int, message: String, val data: String? = null, val payload: String) : RequestFailedException
Exception thrown by rpc provider on request failure.
Parameters
code
error code returned by the rpc provider
message
error message returned by the rpc provider
payload
payload returned by the service used to communicate with Starknet
data
data returned by the rpc provider