RpcRequestFailedException

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

Constructors

Link copied to clipboard
constructor(code: Int, message: String, data: String? = null, payload: String)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val code: Int
Link copied to clipboard
val data: String? = null
Link copied to clipboard
open val message: String?
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String