Class RpcRequestFailedException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class RpcRequestFailedException extends RequestFailedException
Exception thrown by rpc provider on request failure.
-
-
Constructor Summary
Constructors Constructor Description RpcRequestFailedException(Integer code, String message, String data, String payload)
-
Method Summary
-
Methods inherited from class com.swmansion.starknet.provider.exceptions.RequestFailedException
getData, getPayload, toString
-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RpcRequestFailedException
RpcRequestFailedException(Integer code, String message, String data, String payload)
- Parameters:
code
- error code returned by the rpc providermessage
- error message returned by the rpc providerdata
- data returned by the rpc providerpayload
- payload returned by the service used to communicate with Starknet
-
-
-
-