Constructor
JsonRpcException constructor
JsonRpcException(string) #
Initializes a new instance of the JsonRpcException class with a specified error message.
public JsonRpcException(string message)Parameters #
message string
The 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)Parameters #
message string
The error message that explains the reason for the exception.
code int
The error code associated with the JSON-RPC error.
data object?
Additional data associated with the error.