Casper.Network.SDK
Show / Hide Table of Contents

Class RpcClientException

Exception thrown when an RPC Response returns an error and not a result. The RPCError inside the exception contains the error data from the network.

Inheritance
System.Object
RpcClientException
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class RpcClientException : Exception

Constructors

RpcClientException(String)

Declaration
public RpcClientException(string message)
Parameters
Type Name Description
System.String message

RpcClientException(String, RpcError)

Declaration
public RpcClientException(string message, RpcError rpcError)
Parameters
Type Name Description
System.String message
RpcError rpcError

RpcClientException(String, Exception)

Declaration
public RpcClientException(string message, Exception innerException)
Parameters
Type Name Description
System.String message
Exception innerException

Properties

RpcError

Declaration
public RpcError RpcError { get; }
Property Value
Type Description
RpcError
In This Article
Back to top Maintained by MAKE Technology LLC