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
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