Class RpcRequestFailedException

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getCode()
      • 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 provider
        message - error message returned by the rpc provider
        data - data returned by the rpc provider
        payload - payload returned by the service used to communicate with Starknet