Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public static final class GraphQLError.Builder

  1. Object
  2. GraphQLError.Builder
Builds a GraphQLError.

Methods

public GraphQLError.Builder message(String message)
public GraphQLError.Builder errorType(GraphQLError.ErrorType type)
public GraphQLError.Builder errorType(String classification)A classification of your own, such as "CONFLICT".
public GraphQLError.Builder extension(String key, Object value)
public GraphQLError build()

Inherited methods

Method details

message

public GraphQLError.Builder message(String message)

errorType

public GraphQLError.Builder errorType(GraphQLError.ErrorType type)

errorType

public GraphQLError.Builder errorType(String classification)
A classification of your own, such as "CONFLICT".

extension

public GraphQLError.Builder extension(String key, Object value)

build

public GraphQLError build()