json RPCError
Creates a JSONRPCError using the DSL builder.
val error = jsonRPCError {
code = JSONRPCError.ErrorCodes.INVALID_PARAMS
message = "Invalid params"
data = "Expected integer, got string"
}Content copied to clipboard