Sisk

Constructor

JsonRpcException constructor

Namespace
Sisk.JsonRPC
Assembly
Sisk.JsonRPC.dll

JsonRpcException(string) #

Initializes a new instance of the JsonRpcException class with a specified error message.

C#
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.

C#
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.

Type to search the documentation and the API reference.