error
Builds the error inline using the JSONRPCErrorBuilder DSL.
jsonRPCResponse<Nothing, Nothing> {
id = RequestId(1)
error {
code = JSONRPCError.ErrorCodes.INTERNAL_ERROR
message = "Something went wrong"
}
}Content copied to clipboard
The error object for a failed response. Mutually exclusive with result.