Class GraphQLException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.microprofile.graphql.GraphQLException
All Implemented Interfaces:
Serializable

public class GraphQLException extends Exception
A GraphQLException is used to pass error information back to the client. Instances of GraphQLException and it's subclasses will pass the message field back to the client. The optional ExceptionType may also be specified. While it is expected that MP GraphQL implementations will return the message to the client, implementations must not return the stack trace not the cause to the client.
See Also: