JSONRPCError

@Serializable
data class JSONRPCError(val code: ErrorCode, val message: String, val data: JsonObject = EmptyJsonObject) : JSONRPCMessage(source)

A response to a request that indicates an error occurred.

Constructors

Link copied to clipboard
constructor(code: ErrorCode, message: String, data: JsonObject = EmptyJsonObject)

Properties

Link copied to clipboard
Link copied to clipboard
val data: JsonObject
Link copied to clipboard