Constructor JsonRpcException
JsonRpcException(string)
Initializes a new instance of the JsonRpcException class with a specified error message.
public JsonRpcException(string message)
Parameters
message
stringThe error message that explains the reason for the exception.
JsonRpcException(string, int, object?)
Initializes a new instance of the JsonRpcException class with a specified error message, error code, and additional data.
public JsonRpcException(string message, int code, object? data)